Home
last modified time | relevance | path

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

/linux/Documentation/scheduler/
H A Dsched-ext.rst133 * idle core is found by the default ops.select_cpu() implementation,
138 * default ops.select_cpu implementation. The behavior of the scheduler
160 * into in ops.select_cpu() above.
189 .select_cpu = (void *)simple_select_cpu,
219 1. When a task is waking up, ``ops.select_cpu()`` is the first operation
223 The CPU selected by ``ops.select_cpu()`` is an optimization hint and not
226 ``ops.select_cpu()`` returns matches the CPU the task eventually runs on.
230 using ``ops.select_cpu()`` judiciously can be simpler and more efficient.
232 A task can be immediately inserted into a DSQ from ``ops.select_cpu()``
234 ``SCX_DSQ_LOCAL`` from ``ops.select_cpu()``, i
[all...]
/linux/tools/testing/selftests/sched_ext/
H A Dselect_cpu_dispatch_bad_dsq.bpf.c4 * select_cpu implementation.
33 .select_cpu = (void *) select_cpu_dispatch_bad_dsq_select_cpu,
H A Dselect_cpu_dispatch_dbl_dsp.bpf.c4 * select_cpu implementation.
34 .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.c4 * select_cpu implementation.
38 .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.bpf.c69 .select_cpu = (void *)enq_select_cpu_select_cpu,
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.c4 * select_cpu implementation, and with the SCX_OPS_ENQ_DFL_NO_DISPATCH ops flag
20 bool force_local; /* CPU changed by ops.select_cpu() */
85 .select_cpu = (void *) select_cpu_dfl_nodispatch_select_cpu,
H A Dnuma.bpf.c94 .select_cpu = (void *)numa_select_cpu,
H A Dselect_cpu_vtime.bpf.c5 * ops.select_cpu(). We validate this by using scx_bpf_dsq_insert_vtime(),
84 .select_cpu = (void *) select_cpu_vtime_select_cpu,
H A Dallowed_cpus.bpf.c139 .select_cpu = (void *)allowed_cpus_select_cpu,
H A Dmaximal.bpf.c140 .select_cpu = (void *) maximal_select_cpu,
/linux/tools/sched_ext/
H A Dscx_simple.bpf.c143 .select_cpu = (void *)simple_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()
349 .select_cpu = (void *)central_select_cpu,
H A Dscx_flatcg.bpf.c939 .select_cpu = (void *)fcg_select_cpu,
H A Dscx_qmap.bpf.c233 /* if select_cpu() wasn't called, try direct dispatch */ in BPF_STRUCT_OPS()
852 .select_cpu = (void *)qmap_select_cpu,
/linux/kernel/sched/
H A Dext.c134 * A migration disabled task never invokes ops.select_cpu() as it can
143 * ops.enqueue() on the ops.select_cpu() selected or the wakee's
145 * transfers. When this optimization is enabled, ops.select_cpu() is
147 * As the BPF scheduler may depend on ops.select_cpu() being invoked
152 * wakee's CPU without preceding ops.select_cpu() even for tasks which
260 * @select_cpu: Pick the target CPU for a task which is being woken up
272 * select_cpu() serves as the default way to wake up idle CPUs.
279 * Note that select_cpu() is never called for tasks that can only run
284 s32 (*select_cpu)(struct task_struct *p, s32 prev_cpu, u64 wake_flags); member
296 * If @p was inserted into a DSQ from ops.select_cpu(), thi
[all...]
/linux/block/
H A Dblk-mq.c2250 select_cpu: in blk_mq_hctx_next_cpu()
2265 goto select_cpu; in blk_mq_hctx_next_cpu()