Searched refs:select_cpu (Results 1 – 19 of 19) sorted by relevance
| /linux/Documentation/scheduler/ |
| H A D | sched-ext.rst | 119 * ``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 D | select_cpu_dispatch_bad_dsq.bpf.c | 33 .select_cpu = (void *) select_cpu_dispatch_bad_dsq_select_cpu,
|
| H A D | select_cpu_dispatch_dbl_dsp.bpf.c | 34 .select_cpu = (void *) select_cpu_dispatch_dbl_dsp_select_cpu,
|
| H A D | ddsp_bogus_dsq_fail.bpf.c | 38 .select_cpu = (void *) ddsp_bogus_dsq_fail_select_cpu,
|
| H A D | select_cpu_dispatch.bpf.c | 38 .select_cpu = (void *) select_cpu_dispatch_select_cpu,
|
| H A D | ddsp_vtimelocal_fail.bpf.c | 35 .select_cpu = (void *) ddsp_vtimelocal_fail_select_cpu,
|
| H A D | enq_select_cpu_fails.bpf.c | |
| H A D | dsp_local_on.bpf.c | 62 .select_cpu = (void *) dsp_local_on_select_cpu,
|
| H A D | exit.bpf.c | 77 .select_cpu = (void *) exit_select_cpu,
|
| H A D | select_cpu_dfl_nodispatch.bpf.c | 85 .select_cpu = (void *) select_cpu_dfl_nodispatch_select_cpu,
|
| H A D | select_cpu_vtime.bpf.c | 5 * ops.select_cpu(). We validate this by using scx_bpf_dsq_insert_vtime(), 86 .select_cpu = (void *) select_cpu_vtime_select_cpu,
|
| H A D | maximal.bpf.c | 139 .select_cpu = (void *) maximal_select_cpu,
|
| /linux/tools/sched_ext/ |
| H A D | scx_cpu0.bpf.c | 53 * 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 D | scx_central.bpf.c | 97 * 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 D | scx_flatcg.bpf.c | 951 .select_cpu = (void *)fcg_select_cpu,
|
| H A D | scx_qmap.bpf.c | 1013 .select_cpu = (void *)qmap_select_cpu,
|
| /linux/kernel/sched/ |
| H A D | ext_internal.h | 318 s32 (*select_cpu)(struct task_struct *p, s32 prev_cpu, u64 wake_flags); member
|
| H A D | ext.c | 3273 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 D | blk-mq.c | 2278 select_cpu: in blk_mq_hctx_next_cpu() 2293 goto select_cpu; in blk_mq_hctx_next_cpu()
|