Home
last modified time | relevance | path

Searched full:select_cpu (Results 1 – 25 of 29) sorted by relevance

12

/linux/tools/testing/selftests/sched_ext/
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 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_dfl.bpf.c4 * select_cpu implementation.
19 return !bpf_strncmp(p->comm, 9, "select_cpu"); in task_is_test()
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 Dselect_cpu_dispatch.bpf.c4 * select_cpu implementation.
38 .select_cpu = (void *) select_cpu_dispatch_select_cpu,
H A Denq_select_cpu_fails.bpf.c
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 Denq_last_no_enq_fails.bpf.c4 * select_cpu implementation.
H A Dddsp_vtimelocal_fail.bpf.c35 .select_cpu = (void *) ddsp_vtimelocal_fail_select_cpu,
H A Dddsp_bogus_dsq_fail.bpf.c38 .select_cpu = (void *) ddsp_bogus_dsq_fail_select_cpu,
H A Dselect_cpu_vtime.c57 "ops.select_cpu(), to a non-built-in DSQ",
H A Dddsp_bogus_dsq_fail.c55 " DSQ in ops.select_cpu()",
H A Dddsp_vtimelocal_fail.c54 "built-in DSQ from DSQ in ops.select_cpu()",
H A Dselect_cpu_dispatch_dbl_dsp.c54 "DSQ in ops.select_cpu()",
H A Dselect_cpu_dispatch_bad_dsq.c54 "bogus DSQ in ops.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_dispatch.c68 "ops.select_cpu()",
H A Dexit.c26 * On single-CPU systems, ops.select_cpu() is never in run()
H A Dselect_cpu_dfl_nodispatch.c70 "ops.select_cpu()",
H A Dselect_cpu_dfl.c69 .description = "Verify the default ops.select_cpu() dispatches tasks "
/linux/kernel/sched/
H A Dext_internal.h143 * 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 Dext_idle.c449 * 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 Dext.h113 * 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 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,

12