Home
last modified time | relevance | path

Searched refs:select_cpu (Results 1 – 19 of 19) sorted by relevance

/linux/Documentation/scheduler/
H A Dsched-ext.rst132 * idle core is found by the default ops.select_cpu() implementation,
137 * default ops.select_cpu implementation. The behavior of the scheduler
159 * into in ops.select_cpu() above.
188 .select_cpu = (void *)simple_select_cpu,
218 1. When a task is waking up, ``ops.select_cpu()`` is the first operation
222 The CPU selected by ``ops.select_cpu()`` is an optimization hint and not
225 ``ops.select_cpu()`` returns matches the CPU the task eventually runs on.
229 using ``ops.select_cpu()`` judiciously can be simpler and more efficient.
231 A task can be immediately inserted into a DSQ from ``ops.select_cpu()``
233 ``SCX_DSQ_LOCAL`` from ``ops.select_cpu()``, it will be inserted into the
[all …]
/linux/tools/testing/selftests/sched_ext/
H A Dselect_cpu_dispatch_bad_dsq.bpf.c33 .select_cpu = (void *) select_cpu_dispatch_bad_dsq_select_cpu,
H A Dselect_cpu_dispatch_dbl_dsp.bpf.c34 .select_cpu = (void *) select_cpu_dispatch_dbl_dsp_select_cpu,
H A Dddsp_bogus_dsq_fail.bpf.c38 .select_cpu = (void *) ddsp_bogus_dsq_fail_select_cpu,
H A Dselect_cpu_dispatch.bpf.c38 .select_cpu = (void *) select_cpu_dispatch_select_cpu,
H A Dddsp_vtimelocal_fail.bpf.c35 .select_cpu = (void *) ddsp_vtimelocal_fail_select_cpu,
H A Denq_select_cpu_fails.bpf.c
H A Ddsp_local_on.bpf.c62 .select_cpu = (void *) dsp_local_on_select_cpu,
H A Dexit.bpf.c77 .select_cpu = (void *) exit_select_cpu,
H A Dselect_cpu_dfl_nodispatch.bpf.c85 .select_cpu = (void *) select_cpu_dfl_nodispatch_select_cpu,
H A Dselect_cpu_vtime.bpf.c84 .select_cpu = (void *) select_cpu_vtime_select_cpu,
H A Dmaximal.bpf.c140 .select_cpu = (void *) maximal_select_cpu,
/linux/tools/sched_ext/
H A Dscx_cpu0.bpf.c53 * select_cpu() always picks CPU0. If @p is not on CPU0, it can't run on in BPF_STRUCT_OPS()
91 .select_cpu = (void *)cpu0_select_cpu,
H A Dscx_central.bpf.c96 * select_cpu() is a hint and if @p can't be on it, the kernel will in BPF_STRUCT_OPS()
351 .select_cpu = (void *)central_select_cpu,
H A Dscx_qmap.bpf.c238 /* if select_cpu() wasn't called, try direct dispatch */ in BPF_STRUCT_OPS()
896 .select_cpu = (void *)qmap_select_cpu,
H A Dscx_flatcg.bpf.c949 .select_cpu = (void *)fcg_select_cpu,
/linux/kernel/sched/
H A Dext_internal.h298 s32 (*select_cpu)(struct task_struct *p, s32 prev_cpu, u64 wake_flags); member
H A Dext.c2611 if (likely(SCX_HAS_OP(sch, select_cpu)) && !rq_bypass) { in select_task_rq_scx()
2621 select_cpu, NULL, p, prev_cpu, in select_task_rq_scx()
5484 .select_cpu = sched_ext_ops__select_cpu,
/linux/block/
H A Dblk-mq.c2278 select_cpu: in blk_mq_hctx_next_cpu()
2293 goto select_cpu; in blk_mq_hctx_next_cpu()