/linux/tools/testing/selftests/sched_ext/ |
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 | 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_dfl.bpf.c | 4 * select_cpu implementation. 19 return !bpf_strncmp(p->comm, 9, "select_cpu"); in task_is_test()
|
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 | select_cpu_dispatch.bpf.c | 4 * select_cpu implementation. 38 .select_cpu = (void *) select_cpu_dispatch_select_cpu,
|
H A D | enq_select_cpu_fails.bpf.c |
|
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 | enq_last_no_enq_fails.bpf.c | 4 * select_cpu implementation.
|
H A D | ddsp_vtimelocal_fail.bpf.c | 35 .select_cpu = (void *) ddsp_vtimelocal_fail_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_vtime.c | 57 "ops.select_cpu(), to a non-built-in DSQ",
|
H A D | ddsp_bogus_dsq_fail.c | 55 " DSQ in ops.select_cpu()",
|
H A D | ddsp_vtimelocal_fail.c | 54 "built-in DSQ from DSQ in ops.select_cpu()",
|
H A D | select_cpu_dispatch_dbl_dsp.c | 54 "DSQ in ops.select_cpu()",
|
H A D | select_cpu_dispatch_bad_dsq.c | 54 "bogus DSQ in ops.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_dispatch.c | 68 "ops.select_cpu()",
|
H A D | exit.c | 26 * On single-CPU systems, ops.select_cpu() is never in run()
|
H A D | select_cpu_dfl_nodispatch.c | 70 "ops.select_cpu()",
|
H A D | select_cpu_dfl.c | 69 .description = "Verify the default ops.select_cpu() dispatches tasks "
|
/linux/kernel/sched/ |
H A D | ext_internal.h | 143 * A migration disabled task never invokes ops.select_cpu() as it can 152 * ops.enqueue() on the ops.select_cpu() selected or the wakee's 154 * transfers. When this optimization is enabled, ops.select_cpu() is 156 * As the BPF scheduler may depend on ops.select_cpu() being invoked 161 * wakee's CPU without preceding ops.select_cpu() even for tasks which 269 * @select_cpu: Pick the target CPU for a task which is being woken up 281 * select_cpu() serves as the default way to wake up idle CPUs. 288 * Note that select_cpu() is never called for tasks that can only run 293 s32 (*select_cpu)(struct task_struct *p, s32 prev_cpu, u64 wake_flags); member 305 * If @p was inserted into a DSQ from ops.select_cpu(), this callback is [all …]
|
H A D | ext_idle.c | 449 * we never call ops.select_cpu() for them, see select_task_rq(). 903 * Otherwise, allow to use this kfunc only from ops.select_cpu() in select_cpu_from_kfunc() 963 * scx_bpf_select_cpu_dfl - The default implementation of ops.select_cpu() 969 * Can be called from ops.select_cpu(), ops.enqueue(), or from an unlocked 1007 * Can be called from ops.select_cpu(), ops.enqueue(), or from an unlocked 1012 * @p, @prev_cpu and @wake_flags match ops.select_cpu(). 1015 * returning from ops.select_cpu() and can be used for direct dispatch, or
|
/linux/include/linux/sched/ |
H A D | ext.h | 113 * SELECT_CPU may be nested inside. ops.dequeue (in REST) may also be 117 SCX_KF_ENQUEUE = 1 << 2, /* ops.enqueue() and ops.select_cpu() */ 118 SCX_KF_SELECT_CPU = 1 << 3, /* ops.select_cpu() */
|
/linux/tools/sched_ext/ |
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,
|