Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/sched/
Dloadavg.c79 long calc_load_fold_active(struct rq *this_rq, long adjust) in calc_load_fold_active() argument
83 nr_active = this_rq->nr_running - adjust; 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()
252 calc_load_nohz_fold(this_rq()); in calc_load_nohz_start()
266 struct rq *this_rq = this_rq(); in calc_load_nohz_stop() local
271 this_rq->calc_load_update = READ_ONCE(calc_load_update); in calc_load_nohz_stop()
272 if (time_before(jiffies, this_rq->calc_load_update)) in calc_load_nohz_stop()
[all …]
Dsched.h144 extern void calc_global_load_tick(struct rq *this_rq);
145 extern long calc_load_fold_active(struct rq *this_rq, long adjust);
1231 #define this_rq() this_cpu_ptr(&runqueues) macro
1471 rq = this_rq(); in this_rq_lock_irq()
1941 void (*task_woken)(struct rq *this_rq, struct task_struct *task);
1959 void (*switched_from)(struct rq *this_rq, struct task_struct *task);
1960 void (*switched_to) (struct rq *this_rq, struct task_struct *task);
1961 void (*prio_changed) (struct rq *this_rq, struct task_struct *task,
2251 static inline int _double_lock_balance(struct rq *this_rq, struct rq *busiest) in _double_lock_balance() argument
2252 __releases(this_rq->lock) in _double_lock_balance()
[all …]
Drt.c272 static void pull_rt_task(struct rq *this_rq);
438 static inline void pull_rt_task(struct rq *this_rq) in pull_rt_task() argument
597 return this_rq()->rd->span; in sched_rt_period_mask()
2288 rq = this_rq(); in rto_push_irq_work_func()
2317 static void pull_rt_task(struct rq *this_rq) in pull_rt_task() argument
2319 int this_cpu = this_rq->cpu, cpu; in pull_rt_task()
2323 int rt_overload_count = rt_overloaded(this_rq); in pull_rt_task()
2336 cpumask_test_cpu(this_rq->cpu, this_rq->rd->rto_mask)) in pull_rt_task()
2341 tell_cpu_to_push(this_rq); in pull_rt_task()
2346 for_each_cpu(cpu, this_rq->rd->rto_mask) { in pull_rt_task()
[all …]
Dfair.c3938 static int newidle_balance(struct rq *this_rq, struct rq_flags *rf);
6304 avg_idle = this_rq()->avg_idle / 512; in select_idle_cpu()
6423 this_rq()->nr_running <= 1 && in select_idle_sibling()
9879 static int load_balance(int this_cpu, struct rq *this_rq, in load_balance() argument
9893 .dst_rq = this_rq, in load_balance()
10661 SCHED_WARN_ON(rq != this_rq()); in nohz_balance_exit_idle()
10756 static bool _nohz_idle_balance(struct rq *this_rq, unsigned int flags, in _nohz_idle_balance() argument
10764 int this_cpu = this_rq->cpu; in _nohz_idle_balance()
10844 has_blocked_load |= this_rq->has_blocked_load; in _nohz_idle_balance()
10848 rebalance_domains(this_rq, CPU_IDLE); in _nohz_idle_balance()
[all …]
Dcputime.c236 struct rq *rq = this_rq(); in account_idle_time()
256 steal -= this_rq()->prev_steal_time; in steal_account_process_time()
259 this_rq()->prev_steal_time += steal; in steal_account_process_time()
399 } else if (p == this_rq()->idle) { in irqtime_account_process_tick()
508 else if ((p != this_rq()->idle) || (irq_count() != HARDIRQ_OFFSET)) in account_process_tick()
Ddeadline.c2221 static void pull_dl_task(struct rq *this_rq) in pull_dl_task() argument
2223 int this_cpu = this_rq->cpu, cpu; in pull_dl_task()
2229 if (likely(!dl_overloaded(this_rq))) in pull_dl_task()
2238 for_each_cpu(cpu, this_rq->rd->dlo_mask) { in pull_dl_task()
2248 if (this_rq->dl.dl_nr_running && in pull_dl_task()
2249 dl_time_before(this_rq->dl.earliest_dl.curr, in pull_dl_task()
2254 double_lock_balance(this_rq, src_rq); in pull_dl_task()
2271 (!this_rq->dl.dl_nr_running || in pull_dl_task()
2273 this_rq->dl.earliest_dl.curr))) { in pull_dl_task()
2289 activate_task(this_rq, p, 0); in pull_dl_task()
[all …]
Didle.c22 idle_set_state(this_rq(), idle_state); in sched_idle_set_state()
Dcore.c405 if (rq == this_rq()) in hrtick_start()
1853 struct rq *rq = this_rq(); in migration_cpu_stop()
2552 rq = this_rq(); in ttwu_stat()
2690 struct rq *rq = this_rq(); in sched_ttwu_pending()
3759 struct rq *rq = this_rq(); in finish_task_switch()
4492 schedstat_inc(this_rq()->sched_count); in schedule_debug()
6435 rq = this_rq(); in yield_to()
6906 BUG_ON(current != this_rq()->idle); in idle_task_exit()
Dwalt.c1765 core_ctl_check(this_rq()->window_start); in walt_irq_work()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch1256 long calc_load_fold_active(struct rq *this_rq, long adjust)