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.rst119 * ``SCX_EV_SELECT_CPU_FALLBACK``: ops.select_cpu() returned a CPU unusable by
181 * idle core is found by the default ops.select_cpu() implementation,
186 * default ops.select_cpu implementation. The behavior of the scheduler
208 * into in ops.select_cpu() above.
237 .select_cpu = (void *)simple_select_cpu,
267 1. When a task is waking up, ``ops.select_cpu()`` is the first operation
271 The CPU selected by ``ops.select_cpu()`` is an optimization hint and not
274 ``ops.select_cpu()`` returns matches the CPU the task eventually runs on.
278 using ``ops.select_cpu()`` judiciously can be simpler and more efficient.
283 A task can be immediately inserted into a DSQ from ``ops.select_cpu()``
[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.c5 * ops.select_cpu(). We validate this by using scx_bpf_dsq_insert_vtime(),
86 .select_cpu = (void *) select_cpu_vtime_select_cpu,
H A Dmaximal.bpf.c139 .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.c97 * select_cpu() is a hint and if @p can't be on it, the kernel will in BPF_STRUCT_OPS()
373 .select_cpu = (void *)central_select_cpu,
H A Dscx_flatcg.bpf.c951 .select_cpu = (void *)fcg_select_cpu,
H A Dscx_qmap.bpf.c1013 .select_cpu = (void *)qmap_select_cpu,
/linux/kernel/sched/
H A Dext_internal.h318 s32 (*select_cpu)(struct task_struct *p, s32 prev_cpu, u64 wake_flags); member
H A Dext.c3273 if (likely(SCX_HAS_OP(sch, select_cpu)) && !bypassing) { in select_task_rq_scx()
3282 cpu = SCX_CALL_OP_TASK_RET(sch, select_cpu, NULL, p, prev_cpu, wake_flags); in select_task_rq_scx()
7586 .select_cpu = sched_ext_ops__select_cpu,
9681 [SCX_OP_IDX(select_cpu)] = SCX_KF_ALLOW_SELECT_CPU | SCX_KF_ALLOW_ENQUEUE,
/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()