Home
last modified time | relevance | path

Searched refs:this_rq (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/kernel/sched/
Dproc.c79 long calc_load_fold_active(struct rq *this_rq) in calc_load_fold_active() argument
83 nr_active = this_rq->nr_running; in calc_load_fold_active()
84 nr_active += (long) this_rq->nr_uninterruptible; in calc_load_fold_active()
86 if (nr_active != this_rq->calc_load_active) { in calc_load_fold_active()
87 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()
88 this_rq->calc_load_active = nr_active; in calc_load_fold_active()
182 struct rq *this_rq = this_rq(); in calc_load_enter_idle() local
189 delta = calc_load_fold_active(this_rq); in calc_load_enter_idle()
198 struct rq *this_rq = this_rq(); in calc_load_exit_idle() local
203 if (time_before(jiffies, this_rq->calc_load_update)) in calc_load_exit_idle()
[all …]
Dsched.h29 extern long calc_load_fold_active(struct rq *this_rq);
30 extern void update_cpu_load_active(struct rq *this_rq);
703 #define this_rq() this_cpu_ptr(&runqueues) macro
1189 void (*post_schedule) (struct rq *this_rq);
1191 void (*task_woken) (struct rq *this_rq, struct task_struct *task);
1210 void (*switched_from) (struct rq *this_rq, struct task_struct *task);
1211 void (*switched_to) (struct rq *this_rq, struct task_struct *task);
1212 void (*prio_changed) (struct rq *this_rq, struct task_struct *task,
1247 extern void idle_enter_fair(struct rq *this_rq);
1248 extern void idle_exit_fair(struct rq *this_rq);
[all …]
Didle.c153 idle_set_state(this_rq(), &drv->states[next_state]); in cpuidle_idle_call()
163 idle_set_state(this_rq(), NULL); in cpuidle_idle_call()
Ddeadline.c1045 static int pull_dl_task(struct rq *this_rq);
1476 static int pull_dl_task(struct rq *this_rq) in pull_dl_task() argument
1478 int this_cpu = this_rq->cpu, ret = 0, cpu; in pull_dl_task()
1483 if (likely(!dl_overloaded(this_rq))) in pull_dl_task()
1492 for_each_cpu(cpu, this_rq->rd->dlo_mask) { in pull_dl_task()
1502 if (this_rq->dl.dl_nr_running && in pull_dl_task()
1503 dl_time_before(this_rq->dl.earliest_dl.curr, in pull_dl_task()
1508 double_lock_balance(this_rq, src_rq); in pull_dl_task()
1525 (!this_rq->dl.dl_nr_running || in pull_dl_task()
1527 this_rq->dl.earliest_dl.curr))) { in pull_dl_task()
[all …]
Dfair.c2917 void idle_enter_fair(struct rq *this_rq) in idle_enter_fair() argument
2919 update_rq_runnable_avg(this_rq, 1); in idle_enter_fair()
2927 void idle_exit_fair(struct rq *this_rq) in idle_exit_fair() argument
2929 update_rq_runnable_avg(this_rq, 0); in idle_exit_fair()
2932 static int idle_balance(struct rq *this_rq);
6911 static int load_balance(int this_cpu, struct rq *this_rq, in load_balance() argument
6925 .dst_rq = this_rq, in load_balance()
7205 static int idle_balance(struct rq *this_rq) in idle_balance() argument
7208 int this_cpu = this_rq->cpu; in idle_balance()
7213 idle_enter_fair(this_rq); in idle_balance()
[all …]
Dcputime.c249 struct rq *rq = this_rq(); in account_idle_time()
265 steal -= this_rq()->prev_steal_time; in steal_account_process_tick()
273 this_rq()->prev_steal_time += jiffies_to_nsecs(steal_jiffies); in steal_account_process_tick()
376 struct rq *rq = this_rq(); in irqtime_account_idle_ticks()
466 struct rq *rq = this_rq(); in account_process_tick()
Drt.c259 static int pull_rt_task(struct rq *this_rq);
411 static inline int pull_rt_task(struct rq *this_rq) in pull_rt_task() argument
529 return this_rq()->rd->span; in sched_rt_period_mask()
1951 static int pull_rt_task(struct rq *this_rq) in pull_rt_task() argument
1953 int this_cpu = this_rq->cpu, ret = 0, cpu; in pull_rt_task()
1957 if (likely(!rt_overloaded(this_rq))) in pull_rt_task()
1968 tell_cpu_to_push(this_rq); in pull_rt_task()
1973 for_each_cpu(cpu, this_rq->rd->rto_mask) { in pull_rt_task()
1987 this_rq->rt.highest_prio.curr) in pull_rt_task()
1995 double_lock_balance(this_rq, src_rq); in pull_rt_task()
[all …]
Dcore.c321 rq = this_rq(); in this_rq_lock()
399 if (rq == this_rq()) { in hrtick_start()
717 if (this_rq()->nr_running > 1) in sched_can_stop_tick()
1412 struct rq *rq = this_rq(); in ttwu_stat()
1524 struct rq *rq = this_rq(); in sched_ttwu_pending()
1552 if (llist_empty(&this_rq()->wake_list) && !got_nohz_idle_kick()) in scheduler_ipi()
1575 this_rq()->idle_balance = 1; in scheduler_ipi()
1724 if (WARN_ON_ONCE(rq != this_rq()) || in try_to_wake_up_local()
2209 struct rq *rq = this_rq(); in finish_task_switch()
2407 struct rq *this = this_rq(); in get_iowait_load()
[all …]