Home
last modified time | relevance | path

Searched refs:core (Results 1 – 13 of 13) sorted by relevance

/kernel/sched/
Dcore_sched.c243 u64 delta, now = rq_clock(rq->core); in __sched_core_account_forceidle()
250 WARN_ON_ONCE(!rq->core->core_forceidle_count); in __sched_core_account_forceidle()
252 if (rq->core->core_forceidle_start == 0) in __sched_core_account_forceidle()
255 delta = now - rq->core->core_forceidle_start; in __sched_core_account_forceidle()
259 rq->core->core_forceidle_start = now; in __sched_core_account_forceidle()
261 if (WARN_ON_ONCE(!rq->core->core_forceidle_occupation)) { in __sched_core_account_forceidle()
263 } else if (rq->core->core_forceidle_count > 1 || in __sched_core_account_forceidle()
264 rq->core->core_forceidle_occupation > 1) { in __sched_core_account_forceidle()
270 delta *= rq->core->core_forceidle_count; in __sched_core_account_forceidle()
271 delta = div_u64(delta, rq->core->core_forceidle_occupation); in __sched_core_account_forceidle()
[all …]
Dcore.c221 if (prio_less(b, a, !!task_rq(a)->core->core_forceidle_count)) in __sched_core_less()
250 rq->core->core_task_seq++; in sched_core_enqueue()
260 rq->core->core_task_seq++; in sched_core_dequeue()
273 rq->core->core_forceidle_count && rq->curr == rq->idle) in sched_core_dequeue()
365 cpu_rq(cpu)->core->core_forceidle_start = 0; in __sched_core_flip()
6106 bool core_clock_updated = (rq == rq->core); in pick_next_task()
6137 if (rq->core->core_pick_seq == rq->core->core_task_seq && in pick_next_task()
6138 rq->core->core_pick_seq != rq->core_sched_seq && in pick_next_task()
6140 WRITE_ONCE(rq->core_sched_seq, rq->core->core_pick_seq); in pick_next_task()
6155 need_sync = !!rq->core->core_cookie; in pick_next_task()
[all …]
DMakefile31 obj-y += core.o
Dsched.h1167 struct rq *core; member
1259 return &rq->core->__lock; in rq_lockp()
1267 return &rq->core->__lock; in __rq_lockp()
1286 return rq->core->core_cookie == p->core_cookie; in sched_cpu_cookie_match()
1309 return idle_core || rq->core->core_cookie == p->core_cookie; in sched_core_cookie_match()
2617 if (rq1->core->cpu < rq2->core->cpu) in rq_order_less()
2619 if (rq1->core->cpu > rq2->core->cpu) in rq_order_less()
Dfair.c6688 int core = cpu_of(rq); in __update_idle_core() local
6692 if (test_idle_cores(core)) in __update_idle_core()
6695 for_each_cpu(cpu, cpu_smt_mask(core)) { in __update_idle_core()
6696 if (cpu == core) in __update_idle_core()
6703 set_idle_cores(core, 1); in __update_idle_core()
6713 static int select_idle_core(struct task_struct *p, int core, struct cpumask *cpus, int *idle_cpu) in select_idle_core() argument
6718 for_each_cpu(cpu, cpu_smt_mask(core)) { in select_idle_core()
6735 return core; in select_idle_core()
6737 cpumask_andnot(cpus, cpus, cpu_smt_mask(core)); in select_idle_core()
6769 static inline int select_idle_core(struct task_struct *p, int core, struct cpumask *cpus, int *idle… in select_idle_core() argument
[all …]
/kernel/bpf/
DKconfig52 /proc/sys/net/core/bpf_jit_enable
53 /proc/sys/net/core/bpf_jit_harden (optional)
54 /proc/sys/net/core/bpf_jit_kallsyms (optional)
63 When CONFIG_BPF_JIT_ALWAYS_ON is enabled, /proc/sys/net/core/bpf_jit_enable
DMakefile2 obj-y := core.o
/kernel/futex/
DMakefile3 obj-y += core.o syscalls.o pi.o requeue.o waitwake.o
/kernel/livepatch/
DMakefile4 livepatch-objs := core.o patch.o shadow.o state.o transition.o
/kernel/events/
DMakefile2 obj-y := core.o ring_buffer.o callchain.o
/kernel/kcsan/
DMakefile14 obj-y := core.o debugfs.o report.o
/kernel/
DKconfig.preempt125 will execute a task from the same 'core group', forcing idle when no
/kernel/power/
DKconfig185 bool "Device power management core functionality"