Searched refs:select_cpu (Results 1 – 20 of 20) sorted by relevance
/linux/Documentation/scheduler/ |
H A D | sched-ext.rst | 133 * 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 D | select_cpu_dispatch_bad_dsq.bpf.c | 4 * select_cpu implementation. 33 .select_cpu = (void *) select_cpu_dispatch_bad_dsq_select_cpu,
|
H A D | select_cpu_dispatch_dbl_dsp.bpf.c | 4 * select_cpu implementation. 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 | 4 * select_cpu implementation. 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.bpf.c | 69 .select_cpu = (void *)enq_select_cpu_select_cpu,
|
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 | 4 * 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 D | numa.bpf.c | 94 .select_cpu = (void *)numa_select_cpu,
|
H A D | select_cpu_vtime.bpf.c | 5 * ops.select_cpu(). We validate this by using scx_bpf_dsq_insert_vtime(), 84 .select_cpu = (void *) select_cpu_vtime_select_cpu,
|
H A D | allowed_cpus.bpf.c | 139 .select_cpu = (void *)allowed_cpus_select_cpu,
|
H A D | maximal.bpf.c | 140 .select_cpu = (void *) maximal_select_cpu,
|
/linux/tools/sched_ext/ |
H A D | scx_simple.bpf.c | 143 .select_cpu = (void *)simple_select_cpu,
|
H A D | scx_central.bpf.c | 96 * 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 D | scx_flatcg.bpf.c | 939 .select_cpu = (void *)fcg_select_cpu,
|
H A D | scx_qmap.bpf.c | 233 /* 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 D | ext.c | 134 * 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 D | blk-mq.c | 2250 select_cpu: in blk_mq_hctx_next_cpu() 2265 goto select_cpu; in blk_mq_hctx_next_cpu()
|