Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/sched/
Dsched.h480 #define this_rq() (&__get_cpu_var(runqueues)) macro
852 extern void idle_balance(int this_cpu, struct rq *this_rq);
876 extern void update_idle_cpu_load(struct rq *this_rq);
994 static inline int _double_lock_balance(struct rq *this_rq, struct rq *busiest) in _double_lock_balance() argument
995 __releases(this_rq->lock) in _double_lock_balance()
997 __acquires(this_rq->lock) in _double_lock_balance()
999 raw_spin_unlock(&this_rq->lock); in _double_lock_balance()
1000 double_rq_lock(this_rq, busiest); in _double_lock_balance()
1013 static inline int _double_lock_balance(struct rq *this_rq, struct rq *busiest) in _double_lock_balance() argument
1014 __releases(this_rq->lock) in _double_lock_balance()
[all …]
Dcore.c355 rq = this_rq(); in this_rq_lock()
423 if (rq == this_rq()) { in hrtick_start()
1360 struct rq *rq = this_rq(); in ttwu_stat()
1469 struct rq *rq = this_rq(); in sched_ttwu_pending()
1486 if (llist_empty(&this_rq()->wake_list) && !got_nohz_idle_kick()) in scheduler_ipi()
1509 this_rq()->idle_balance = 1; in scheduler_ipi()
1654 if (WARN_ON_ONCE(rq != this_rq()) || in try_to_wake_up_local()
2026 struct rq *rq = this_rq(); in schedule_tail()
2095 finish_task_switch(this_rq(), prev); in context_switch()
2161 struct rq *this = this_rq(); in this_cpu_load()
[all …]
Dfair.c3141 if (sched_feat(CACHE_HOT_BUDDY) && this_rq()->nr_running && in task_hot()
4415 static int load_balance(int this_cpu, struct rq *this_rq, in load_balance() argument
4429 .dst_rq = this_rq, in load_balance()
4456 BUG_ON(busiest == this_rq); in load_balance()
4476 double_rq_lock(this_rq, busiest); in load_balance()
4480 double_rq_unlock(this_rq, busiest); in load_balance()
4592 void idle_balance(int this_cpu, struct rq *this_rq) in idle_balance() argument
4598 this_rq->idle_stamp = this_rq->clock; in idle_balance()
4600 if (this_rq->avg_idle < sysctl_sched_migration_cost) in idle_balance()
4606 raw_spin_unlock(&this_rq->lock); in idle_balance()
[all …]
Drt.c1724 static int pull_rt_task(struct rq *this_rq) in pull_rt_task() argument
1726 int this_cpu = this_rq->cpu, ret = 0, cpu; in pull_rt_task()
1730 if (likely(!rt_overloaded(this_rq))) in pull_rt_task()
1733 for_each_cpu(cpu, this_rq->rd->rto_mask) { in pull_rt_task()
1747 this_rq->rt.highest_prio.curr) in pull_rt_task()
1755 double_lock_balance(this_rq, src_rq); in pull_rt_task()
1769 if (p && (p->prio < this_rq->rt.highest_prio.curr)) { in pull_rt_task()
1788 activate_task(this_rq, p, 0); in pull_rt_task()
1797 double_unlock_balance(this_rq, src_rq); in pull_rt_task()
/linux-3.4.99/include/linux/
Dsched.h1143 void (*pre_schedule) (struct rq *this_rq, struct task_struct *task);
1144 void (*post_schedule) (struct rq *this_rq);
1146 void (*task_woken) (struct rq *this_rq, struct task_struct *task);
1159 void (*switched_from) (struct rq *this_rq, struct task_struct *task);
1160 void (*switched_to) (struct rq *this_rq, struct task_struct *task);
1161 void (*prio_changed) (struct rq *this_rq, struct task_struct *task,