Lines Matching refs:rq
62 static inline struct rq *rq_of_dl_rq(struct dl_rq *dl_rq) in rq_of_dl_rq()
64 return container_of(dl_rq, struct rq, dl); in rq_of_dl_rq()
70 struct rq *rq = task_rq(p); in dl_rq_of_se() local
72 return &rq->dl; in dl_rq_of_se()
177 struct rq *rq = cpu_rq(i); in __dl_update() local
179 rq->dl.extra_bw += bw; in __dl_update()
313 struct rq *rq; in dl_change_utilization() local
320 rq = task_rq(p); in dl_change_utilization()
322 sub_running_bw(&p->dl, &rq->dl); in dl_change_utilization()
334 __sub_rq_bw(p->dl.dl_bw, &rq->dl); in dl_change_utilization()
335 __add_rq_bw(new_bw, &rq->dl); in dl_change_utilization()
397 struct rq *rq = rq_of_dl_rq(dl_rq); in task_non_contending() local
420 zerolag_time -= rq_clock(rq); in task_non_contending()
433 sub_rq_bw(&p->dl, &rq->dl); in task_non_contending()
533 static inline int dl_overloaded(struct rq *rq) in dl_overloaded() argument
535 return atomic_read(&rq->rd->dlo_count); in dl_overloaded()
538 static inline void dl_set_overload(struct rq *rq) in dl_set_overload() argument
540 if (!rq->online) in dl_set_overload()
543 cpumask_set_cpu(rq->cpu, rq->rd->dlo_mask); in dl_set_overload()
551 atomic_inc(&rq->rd->dlo_count); in dl_set_overload()
554 static inline void dl_clear_overload(struct rq *rq) in dl_clear_overload() argument
556 if (!rq->online) in dl_clear_overload()
559 atomic_dec(&rq->rd->dlo_count); in dl_clear_overload()
560 cpumask_clear_cpu(rq->cpu, rq->rd->dlo_mask); in dl_clear_overload()
608 static void enqueue_pushable_dl_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_dl_task() argument
615 &rq->dl.pushable_dl_tasks_root, in enqueue_pushable_dl_task()
618 rq->dl.earliest_dl.next = p->dl.deadline; in enqueue_pushable_dl_task()
621 static void dequeue_pushable_dl_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_dl_task() argument
623 struct dl_rq *dl_rq = &rq->dl; in dequeue_pushable_dl_task()
637 static inline int has_pushable_dl_tasks(struct rq *rq) in has_pushable_dl_tasks() argument
639 return !RB_EMPTY_ROOT(&rq->dl.pushable_dl_tasks_root.rb_root); in has_pushable_dl_tasks()
642 static int push_dl_task(struct rq *rq);
644 static inline bool need_pull_dl_task(struct rq *rq, struct task_struct *prev) in need_pull_dl_task() argument
646 return rq->online && dl_task(prev); in need_pull_dl_task()
652 static void push_dl_tasks(struct rq *);
653 static void pull_dl_task(struct rq *);
655 static inline void deadline_queue_push_tasks(struct rq *rq) in deadline_queue_push_tasks() argument
657 if (!has_pushable_dl_tasks(rq)) in deadline_queue_push_tasks()
660 queue_balance_callback(rq, &per_cpu(dl_push_head, rq->cpu), push_dl_tasks); in deadline_queue_push_tasks()
663 static inline void deadline_queue_pull_task(struct rq *rq) in deadline_queue_pull_task() argument
665 queue_balance_callback(rq, &per_cpu(dl_pull_head, rq->cpu), pull_dl_task); in deadline_queue_pull_task()
668 static struct rq *find_lock_later_rq(struct task_struct *task, struct rq *rq);
670 static struct rq *dl_task_offline_migration(struct rq *rq, struct task_struct *p) in dl_task_offline_migration() argument
672 struct rq *later_rq = NULL; in dl_task_offline_migration()
675 later_rq = find_lock_later_rq(p, rq); in dl_task_offline_migration()
699 double_lock_balance(rq, later_rq); in dl_task_offline_migration()
709 sub_running_bw(&p->dl, &rq->dl); in dl_task_offline_migration()
710 sub_rq_bw(&p->dl, &rq->dl); in dl_task_offline_migration()
715 sub_rq_bw(&p->dl, &rq->dl); in dl_task_offline_migration()
724 dl_b = &rq->rd->dl_bw; in dl_task_offline_migration()
726 __dl_sub(dl_b, p->dl.dl_bw, cpumask_weight(rq->rd->span)); in dl_task_offline_migration()
735 double_unlock_balance(later_rq, rq); in dl_task_offline_migration()
743 void enqueue_pushable_dl_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_dl_task() argument
748 void dequeue_pushable_dl_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_dl_task() argument
762 static inline void deadline_queue_push_tasks(struct rq *rq) in deadline_queue_push_tasks() argument
766 static inline void deadline_queue_pull_task(struct rq *rq) in deadline_queue_pull_task() argument
771 static void enqueue_task_dl(struct rq *rq, struct task_struct *p, int flags);
772 static void __dequeue_task_dl(struct rq *rq, struct task_struct *p, int flags);
773 static void check_preempt_curr_dl(struct rq *rq, struct task_struct *p, int flags);
776 struct rq *rq) in replenish_dl_new_period() argument
779 dl_se->deadline = rq_clock(rq) + pi_of(dl_se)->dl_deadline; in replenish_dl_new_period()
798 struct rq *rq = rq_of_dl_rq(dl_rq); in setup_new_dl_entity() local
801 WARN_ON(dl_time_before(rq_clock(rq), dl_se->deadline)); in setup_new_dl_entity()
816 replenish_dl_new_period(dl_se, rq); in setup_new_dl_entity()
840 struct rq *rq = rq_of_dl_rq(dl_rq); in replenish_dl_entity() local
849 replenish_dl_new_period(dl_se, rq); in replenish_dl_entity()
874 if (dl_time_before(dl_se->deadline, rq_clock(rq))) { in replenish_dl_entity()
876 replenish_dl_new_period(dl_se, rq); in replenish_dl_entity()
957 update_dl_revised_wakeup(struct sched_dl_entity *dl_se, struct rq *rq) in update_dl_revised_wakeup() argument
959 u64 laxity = dl_se->deadline - rq_clock(rq); in update_dl_revised_wakeup()
967 WARN_ON(dl_time_before(dl_se->deadline, rq_clock(rq))); in update_dl_revised_wakeup()
1021 struct rq *rq = rq_of_dl_rq(dl_rq); in update_dl_entity() local
1023 if (dl_time_before(dl_se->deadline, rq_clock(rq)) || in update_dl_entity()
1024 dl_entity_overflow(dl_se, rq_clock(rq))) { in update_dl_entity()
1027 !dl_time_before(dl_se->deadline, rq_clock(rq)) && in update_dl_entity()
1029 update_dl_revised_wakeup(dl_se, rq); in update_dl_entity()
1033 replenish_dl_new_period(dl_se, rq); in update_dl_entity()
1056 struct rq *rq = task_rq(p); in start_dl_timer() local
1060 lockdep_assert_rq_held(rq); in start_dl_timer()
1069 delta = ktime_to_ns(now) - rq_clock(rq); in start_dl_timer()
1117 struct rq *rq; in dl_task_timer() local
1119 rq = task_rq_lock(p, &rf); in dl_task_timer()
1143 update_rq_clock(rq); in dl_task_timer()
1165 if (unlikely(!rq->online)) { in dl_task_timer()
1170 lockdep_unpin_lock(__rq_lockp(rq), rf.cookie); in dl_task_timer()
1171 rq = dl_task_offline_migration(rq, p); in dl_task_timer()
1172 rf.cookie = lockdep_pin_lock(__rq_lockp(rq)); in dl_task_timer()
1173 update_rq_clock(rq); in dl_task_timer()
1183 enqueue_task_dl(rq, p, ENQUEUE_REPLENISH); in dl_task_timer()
1184 if (dl_task(rq->curr)) in dl_task_timer()
1185 check_preempt_curr_dl(rq, p, 0); in dl_task_timer()
1187 resched_curr(rq); in dl_task_timer()
1194 if (has_pushable_dl_tasks(rq)) { in dl_task_timer()
1199 rq_unpin_lock(rq, &rf); in dl_task_timer()
1200 push_dl_task(rq); in dl_task_timer()
1201 rq_repin_lock(rq, &rf); in dl_task_timer()
1206 task_rq_unlock(rq, p, &rf); in dl_task_timer()
1246 struct rq *rq = rq_of_dl_rq(dl_rq_of_se(dl_se)); in dl_check_constrained_dl() local
1248 if (dl_time_before(dl_se->deadline, rq_clock(rq)) && in dl_check_constrained_dl()
1249 dl_time_before(rq_clock(rq), dl_next_period(dl_se))) { in dl_check_constrained_dl()
1283 static u64 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se) in grub_reclaim() argument
1285 u64 u_inact = rq->dl.this_bw - rq->dl.running_bw; /* Utot - Uact */ in grub_reclaim()
1287 u64 u_act_min = (dl_se->dl_bw * rq->dl.bw_ratio) >> RATIO_SHIFT; in grub_reclaim()
1297 if (u_inact + rq->dl.extra_bw > BW_UNIT - u_act_min) in grub_reclaim()
1300 u_act = BW_UNIT - u_inact - rq->dl.extra_bw; in grub_reclaim()
1309 static void update_curr_dl(struct rq *rq) in update_curr_dl() argument
1311 struct task_struct *curr = rq->curr; in update_curr_dl()
1314 int cpu = cpu_of(rq); in update_curr_dl()
1328 now = rq_clock_task(rq); in update_curr_dl()
1355 rq, in update_curr_dl()
1376 __dequeue_task_dl(rq, curr, 0); in update_curr_dl()
1378 enqueue_task_dl(rq, curr, ENQUEUE_REPLENISH); in update_curr_dl()
1380 if (!is_leftmost(curr, &rq->dl)) in update_curr_dl()
1381 resched_curr(rq); in update_curr_dl()
1396 struct rt_rq *rt_rq = &rq->rt; in update_curr_dl()
1417 struct rq *rq; in inactive_task_timer() local
1419 rq = task_rq_lock(p, &rf); in inactive_task_timer()
1422 update_rq_clock(rq); in inactive_task_timer()
1443 sub_running_bw(dl_se, &rq->dl); in inactive_task_timer()
1446 task_rq_unlock(rq, p, &rf); in inactive_task_timer()
1467 struct rq *rq = rq_of_dl_rq(dl_rq); in inc_dl_deadline() local
1472 cpupri_set(&rq->rd->cpupri, rq->cpu, CPUPRI_HIGHER); in inc_dl_deadline()
1474 cpudl_set(&rq->rd->cpudl, rq->cpu, deadline); in inc_dl_deadline()
1480 struct rq *rq = rq_of_dl_rq(dl_rq); in dec_dl_deadline() local
1489 cpudl_clear(&rq->rd->cpudl, rq->cpu); in dec_dl_deadline()
1490 cpupri_set(&rq->rd->cpupri, rq->cpu, rq->rt.highest_prio.curr); in dec_dl_deadline()
1496 cpudl_set(&rq->rd->cpudl, rq->cpu, entry->deadline); in dec_dl_deadline()
1672 static void enqueue_task_dl(struct rq *rq, struct task_struct *p, int flags) in enqueue_task_dl() argument
1724 add_rq_bw(&p->dl, &rq->dl); in enqueue_task_dl()
1725 add_running_bw(&p->dl, &rq->dl); in enqueue_task_dl()
1752 if (!task_current(rq, p) && p->nr_cpus_allowed > 1) in enqueue_task_dl()
1753 enqueue_pushable_dl_task(rq, p); in enqueue_task_dl()
1756 static void __dequeue_task_dl(struct rq *rq, struct task_struct *p, int flags) in __dequeue_task_dl() argument
1758 update_stats_dequeue_dl(&rq->dl, &p->dl, flags); in __dequeue_task_dl()
1760 dequeue_pushable_dl_task(rq, p); in __dequeue_task_dl()
1763 static void dequeue_task_dl(struct rq *rq, struct task_struct *p, int flags) in dequeue_task_dl() argument
1765 update_curr_dl(rq); in dequeue_task_dl()
1766 __dequeue_task_dl(rq, p, flags); in dequeue_task_dl()
1769 sub_running_bw(&p->dl, &rq->dl); in dequeue_task_dl()
1770 sub_rq_bw(&p->dl, &rq->dl); in dequeue_task_dl()
1796 static void yield_task_dl(struct rq *rq) in yield_task_dl() argument
1804 rq->curr->dl.dl_yielded = 1; in yield_task_dl()
1806 update_rq_clock(rq); in yield_task_dl()
1807 update_curr_dl(rq); in yield_task_dl()
1813 rq_clock_skip_update(rq); in yield_task_dl()
1819 struct rq *rq) in dl_task_is_earliest_deadline() argument
1821 return (!rq->dl.dl_nr_running || in dl_task_is_earliest_deadline()
1823 rq->dl.earliest_dl.curr)); in dl_task_is_earliest_deadline()
1833 struct rq *rq; in select_task_rq_dl() local
1838 rq = cpu_rq(cpu); in select_task_rq_dl()
1841 curr = READ_ONCE(rq->curr); /* unlocked access */ in select_task_rq_dl()
1880 struct rq *rq; in migrate_task_rq_dl() local
1885 rq = task_rq(p); in migrate_task_rq_dl()
1891 rq_lock(rq, &rf); in migrate_task_rq_dl()
1893 update_rq_clock(rq); in migrate_task_rq_dl()
1894 sub_running_bw(&p->dl, &rq->dl); in migrate_task_rq_dl()
1906 sub_rq_bw(&p->dl, &rq->dl); in migrate_task_rq_dl()
1907 rq_unlock(rq, &rf); in migrate_task_rq_dl()
1910 static void check_preempt_equal_dl(struct rq *rq, struct task_struct *p) in check_preempt_equal_dl() argument
1916 if (rq->curr->nr_cpus_allowed == 1 || in check_preempt_equal_dl()
1917 !cpudl_find(&rq->rd->cpudl, rq->curr, NULL)) in check_preempt_equal_dl()
1925 cpudl_find(&rq->rd->cpudl, p, NULL)) in check_preempt_equal_dl()
1928 resched_curr(rq); in check_preempt_equal_dl()
1931 static int balance_dl(struct rq *rq, struct task_struct *p, struct rq_flags *rf) in balance_dl() argument
1933 if (!on_dl_rq(&p->dl) && need_pull_dl_task(rq, p)) { in balance_dl()
1940 rq_unpin_lock(rq, rf); in balance_dl()
1941 pull_dl_task(rq); in balance_dl()
1942 rq_repin_lock(rq, rf); in balance_dl()
1945 return sched_stop_runnable(rq) || sched_dl_runnable(rq); in balance_dl()
1953 static void check_preempt_curr_dl(struct rq *rq, struct task_struct *p, in check_preempt_curr_dl() argument
1956 if (dl_entity_preempt(&p->dl, &rq->curr->dl)) { in check_preempt_curr_dl()
1957 resched_curr(rq); in check_preempt_curr_dl()
1966 if ((p->dl.deadline == rq->curr->dl.deadline) && in check_preempt_curr_dl()
1967 !test_tsk_need_resched(rq->curr)) in check_preempt_curr_dl()
1968 check_preempt_equal_dl(rq, p); in check_preempt_curr_dl()
1973 static void start_hrtick_dl(struct rq *rq, struct task_struct *p) in start_hrtick_dl() argument
1975 hrtick_start(rq, p->dl.runtime); in start_hrtick_dl()
1978 static void start_hrtick_dl(struct rq *rq, struct task_struct *p) in start_hrtick_dl() argument
1983 static void set_next_task_dl(struct rq *rq, struct task_struct *p, bool first) in set_next_task_dl() argument
1986 struct dl_rq *dl_rq = &rq->dl; in set_next_task_dl()
1988 p->se.exec_start = rq_clock_task(rq); in set_next_task_dl()
1993 dequeue_pushable_dl_task(rq, p); in set_next_task_dl()
1998 if (hrtick_enabled_dl(rq)) in set_next_task_dl()
1999 start_hrtick_dl(rq, p); in set_next_task_dl()
2001 if (rq->curr->sched_class != &dl_sched_class) in set_next_task_dl()
2002 update_dl_rq_load_avg(rq_clock_pelt(rq), rq, 0); in set_next_task_dl()
2004 deadline_queue_push_tasks(rq); in set_next_task_dl()
2017 static struct task_struct *pick_task_dl(struct rq *rq) in pick_task_dl() argument
2020 struct dl_rq *dl_rq = &rq->dl; in pick_task_dl()
2023 if (!sched_dl_runnable(rq)) in pick_task_dl()
2033 static struct task_struct *pick_next_task_dl(struct rq *rq) in pick_next_task_dl() argument
2037 p = pick_task_dl(rq); in pick_next_task_dl()
2039 set_next_task_dl(rq, p, true); in pick_next_task_dl()
2044 static void put_prev_task_dl(struct rq *rq, struct task_struct *p) in put_prev_task_dl() argument
2047 struct dl_rq *dl_rq = &rq->dl; in put_prev_task_dl()
2052 update_curr_dl(rq); in put_prev_task_dl()
2054 update_dl_rq_load_avg(rq_clock_pelt(rq), rq, 1); in put_prev_task_dl()
2056 enqueue_pushable_dl_task(rq, p); in put_prev_task_dl()
2067 static void task_tick_dl(struct rq *rq, struct task_struct *p, int queued) in task_tick_dl() argument
2069 update_curr_dl(rq); in task_tick_dl()
2071 update_dl_rq_load_avg(rq_clock_pelt(rq), rq, 1); in task_tick_dl()
2077 if (hrtick_enabled_dl(rq) && queued && p->dl.runtime > 0 && in task_tick_dl()
2078 is_leftmost(p, &rq->dl)) in task_tick_dl()
2079 start_hrtick_dl(rq, p); in task_tick_dl()
2095 static int pick_dl_task(struct rq *rq, struct task_struct *p, int cpu) in pick_dl_task() argument
2097 if (!task_on_cpu(rq, p) && in pick_dl_task()
2107 static struct task_struct *pick_earliest_pushable_dl_task(struct rq *rq, int cpu) in pick_earliest_pushable_dl_task() argument
2112 if (!has_pushable_dl_tasks(rq)) in pick_earliest_pushable_dl_task()
2115 next_node = rb_first_cached(&rq->dl.pushable_dl_tasks_root); in pick_earliest_pushable_dl_task()
2121 if (pick_dl_task(rq, p, cpu)) in pick_earliest_pushable_dl_task()
2221 static struct rq *find_lock_later_rq(struct task_struct *task, struct rq *rq) in find_lock_later_rq() argument
2223 struct rq *later_rq = NULL; in find_lock_later_rq()
2230 if ((cpu == -1) || (cpu == rq->cpu)) in find_lock_later_rq()
2246 if (double_lock_balance(rq, later_rq)) { in find_lock_later_rq()
2247 if (unlikely(task_rq(task) != rq || in find_lock_later_rq()
2249 task_on_cpu(rq, task) || in find_lock_later_rq()
2253 double_unlock_balance(rq, later_rq); in find_lock_later_rq()
2268 double_unlock_balance(rq, later_rq); in find_lock_later_rq()
2275 static struct task_struct *pick_next_pushable_dl_task(struct rq *rq) in pick_next_pushable_dl_task() argument
2279 if (!has_pushable_dl_tasks(rq)) in pick_next_pushable_dl_task()
2282 p = __node_2_pdl(rb_first_cached(&rq->dl.pushable_dl_tasks_root)); in pick_next_pushable_dl_task()
2284 WARN_ON_ONCE(rq->cpu != task_cpu(p)); in pick_next_pushable_dl_task()
2285 WARN_ON_ONCE(task_current(rq, p)); in pick_next_pushable_dl_task()
2299 static int push_dl_task(struct rq *rq) in push_dl_task() argument
2302 struct rq *later_rq; in push_dl_task()
2305 if (!rq->dl.overloaded) in push_dl_task()
2308 next_task = pick_next_pushable_dl_task(rq); in push_dl_task()
2318 if (dl_task(rq->curr) && in push_dl_task()
2319 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in push_dl_task()
2320 rq->curr->nr_cpus_allowed > 1) { in push_dl_task()
2321 resched_curr(rq); in push_dl_task()
2328 if (WARN_ON(next_task == rq->curr)) in push_dl_task()
2335 later_rq = find_lock_later_rq(next_task, rq); in push_dl_task()
2344 task = pick_next_pushable_dl_task(rq); in push_dl_task()
2362 deactivate_task(rq, next_task, 0); in push_dl_task()
2369 double_unlock_balance(rq, later_rq); in push_dl_task()
2377 static void push_dl_tasks(struct rq *rq) in push_dl_tasks() argument
2380 while (push_dl_task(rq)) in push_dl_tasks()
2384 static void pull_dl_task(struct rq *this_rq) in pull_dl_task()
2389 struct rq *src_rq; in pull_dl_task()
2480 static void task_woken_dl(struct rq *rq, struct task_struct *p) in task_woken_dl() argument
2482 if (!task_on_cpu(rq, p) && in task_woken_dl()
2483 !test_tsk_need_resched(rq->curr) && in task_woken_dl()
2485 dl_task(rq->curr) && in task_woken_dl()
2486 (rq->curr->nr_cpus_allowed < 2 || in task_woken_dl()
2487 !dl_entity_preempt(&p->dl, &rq->curr->dl))) { in task_woken_dl()
2488 push_dl_tasks(rq); in task_woken_dl()
2497 struct rq *rq; in set_cpus_allowed_dl() local
2501 rq = task_rq(p); in set_cpus_allowed_dl()
2502 src_rd = rq->rd; in set_cpus_allowed_dl()
2512 src_dl_b = dl_bw_of(cpu_of(rq)); in set_cpus_allowed_dl()
2527 static void rq_online_dl(struct rq *rq) in rq_online_dl() argument
2529 if (rq->dl.overloaded) in rq_online_dl()
2530 dl_set_overload(rq); in rq_online_dl()
2532 cpudl_set_freecpu(&rq->rd->cpudl, rq->cpu); in rq_online_dl()
2533 if (rq->dl.dl_nr_running > 0) in rq_online_dl()
2534 cpudl_set(&rq->rd->cpudl, rq->cpu, rq->dl.earliest_dl.curr); in rq_online_dl()
2538 static void rq_offline_dl(struct rq *rq) in rq_offline_dl() argument
2540 if (rq->dl.overloaded) in rq_offline_dl()
2541 dl_clear_overload(rq); in rq_offline_dl()
2543 cpudl_clear(&rq->rd->cpudl, rq->cpu); in rq_offline_dl()
2544 cpudl_clear_freecpu(&rq->rd->cpudl, rq->cpu); in rq_offline_dl()
2559 struct rq *rq; in dl_add_task_root_domain() local
2568 rq = __task_rq_lock(p, &rf); in dl_add_task_root_domain()
2570 dl_b = &rq->rd->dl_bw; in dl_add_task_root_domain()
2573 __dl_add(dl_b, p->dl.dl_bw, cpumask_weight(rq->rd->span)); in dl_add_task_root_domain()
2577 task_rq_unlock(rq, p, &rf); in dl_add_task_root_domain()
2591 static void switched_from_dl(struct rq *rq, struct task_struct *p) in switched_from_dl() argument
2618 sub_running_bw(&p->dl, &rq->dl); in switched_from_dl()
2619 sub_rq_bw(&p->dl, &rq->dl); in switched_from_dl()
2635 if (!task_on_rq_queued(p) || rq->dl.dl_nr_running) in switched_from_dl()
2638 deadline_queue_pull_task(rq); in switched_from_dl()
2645 static void switched_to_dl(struct rq *rq, struct task_struct *p) in switched_to_dl() argument
2658 add_rq_bw(&p->dl, &rq->dl); in switched_to_dl()
2663 if (rq->curr != p) { in switched_to_dl()
2665 if (p->nr_cpus_allowed > 1 && rq->dl.overloaded) in switched_to_dl()
2666 deadline_queue_push_tasks(rq); in switched_to_dl()
2668 if (dl_task(rq->curr)) in switched_to_dl()
2669 check_preempt_curr_dl(rq, p, 0); in switched_to_dl()
2671 resched_curr(rq); in switched_to_dl()
2673 update_dl_rq_load_avg(rq_clock_pelt(rq), rq, 0); in switched_to_dl()
2681 static void prio_changed_dl(struct rq *rq, struct task_struct *p, in prio_changed_dl() argument
2684 if (task_on_rq_queued(p) || task_current(rq, p)) { in prio_changed_dl()
2692 if (!rq->dl.overloaded) in prio_changed_dl()
2693 deadline_queue_pull_task(rq); in prio_changed_dl()
2700 if (dl_time_before(rq->dl.earliest_dl.curr, p->dl.deadline)) in prio_changed_dl()
2701 resched_curr(rq); in prio_changed_dl()
2708 resched_curr(rq); in prio_changed_dl()