Home
last modified time | relevance | path

Searched refs:scx_bpf_dispatch (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/tools/testing/selftests/sched_ext/
Dselect_cpu_dispatch_dbl_dsp.bpf.c21 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
22 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
Dselect_cpu_dispatch_bad_dsq.bpf.c21 scx_bpf_dispatch(p, 0xcafef00d, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
Dselect_cpu_dfl.bpf.c33 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
Dselect_cpu_dispatch.bpf.c32 scx_bpf_dispatch(p, dsq_id, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
Denq_select_cpu_fails.bpf.c34 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
Ddsp_local_on.bpf.c48 scx_bpf_dispatch(p, SCX_DSQ_LOCAL_ON | target, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
Dselect_cpu_dfl_nodispatch.bpf.c70 scx_bpf_dispatch(p, dsq_id, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
Dexit.bpf.c36 scx_bpf_dispatch(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
Dmaximal.bpf.c23 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
/linux-6.12.1/tools/sched_ext/
Dscx_central.bpf.c121 scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_INF, in BPF_STRUCT_OPS()
128 scx_bpf_dispatch(p, FALLBACK_DSQ_ID, SCX_SLICE_INF, enq_flags); in BPF_STRUCT_OPS()
161 scx_bpf_dispatch(p, FALLBACK_DSQ_ID, SCX_SLICE_INF, 0); in dispatch_to_cpu()
175 scx_bpf_dispatch(p, SCX_DSQ_LOCAL_ON | cpu, SCX_SLICE_INF, 0); in dispatch_to_cpu()
Dscx_qmap.bpf.c229 scx_bpf_dispatch(p, SCX_DSQ_LOCAL, slice_ns, enq_flags); in BPF_STRUCT_OPS()
237 scx_bpf_dispatch(p, SCX_DSQ_LOCAL_ON | cpu, slice_ns, enq_flags); in BPF_STRUCT_OPS()
250 scx_bpf_dispatch(p, SHARED_DSQ, 0, enq_flags); in BPF_STRUCT_OPS()
265 scx_bpf_dispatch(p, SHARED_DSQ, slice_ns, enq_flags); in BPF_STRUCT_OPS()
388 scx_bpf_dispatch(p, SCX_DSQ_LOCAL, slice_ns, 0); in BPF_STRUCT_OPS()
434 scx_bpf_dispatch(p, SHARED_DSQ, slice_ns, 0); in BPF_STRUCT_OPS()
Dscx_simple.bpf.c68 scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
79 scx_bpf_dispatch(p, SHARED_DSQ, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
Dscx_flatcg.bpf.c344 scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
380 scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
383 scx_bpf_dispatch(p, FALLBACK_DSQ, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
394 scx_bpf_dispatch(p, cgrp->kn->id, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
/linux-6.12.1/Documentation/scheduler/
Dsched-ext.rst151 scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0);
169 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags);
233 calling ``scx_bpf_dispatch()``. If the task is dispatched to
247 calling ``scx_bpf_dispatch()`` with ``SCX_DSQ_GLOBAL`` or
251 ``scx_bpf_dispatch()`` with a DSQ ID which is smaller than 2^63.
260 * ``scx_bpf_dispatch()`` dispatches a task to a DSQ. Any target DSQ can
262 ``SCX_DSQ_GLOBAL`` or a custom DSQ. While ``scx_bpf_dispatch()``
264 and will be supported. ``scx_bpf_dispatch()`` schedules dispatching
291 ``scx_bpf_dispatch()`` queues the task on the FIFO of the target DSQ. Use
294 dispatching, and must be dispatched to with ``scx_bpf_dispatch()``. See the
/linux-6.12.1/tools/sched_ext/include/scx/
Dcommon.bpf.h39 void scx_bpf_dispatch(struct task_struct *p, u64 dsq_id, u64 slice, u64 enq_flags) __ksym;
/linux-6.12.1/kernel/sched/
Dext.c6029 __bpf_kfunc void scx_bpf_dispatch(struct task_struct *p, u64 dsq_id, u64 slice, in scx_bpf_dispatch() function
6079 BTF_ID_FLAGS(func, scx_bpf_dispatch, KF_RCU)