summaryrefslogtreecommitdiffstats
path: root/kernel/livepatch/patch.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-03-13 09:43:23 -1000
committerTejun Heo <tj@kernel.org>2026-03-13 09:43:23 -1000
commit860683763ebf4662cb72a312279334e02718308f (patch)
tree2357f6ab960f4c2c3bae008b055feb2fdf2a87c6 /kernel/livepatch/patch.c
parentda32a2986e5fb3c70562ad610918834696e87322 (diff)
downloadlinux-860683763ebf4662cb72a312279334e02718308f.tar.gz
linux-860683763ebf4662cb72a312279334e02718308f.zip
sched_ext: Add enq_flags to scx_bpf_dsq_move_to_local()
scx_bpf_dsq_move_to_local() moves a task from a non-local DSQ to the current CPU's local DSQ. This is an indirect way of dispatching to a local DSQ and should support enq_flags like direct dispatches do - e.g. SCX_ENQ_HEAD for head-of-queue insertion and SCX_ENQ_IMMED for immediate execution guarantees. Add scx_bpf_dsq_move_to_local___v2() with an enq_flags parameter. The original becomes a v1 compat wrapper passing 0. The compat macro is updated to a three-level chain: v2 (7.1+) -> v1 (current) -> scx_bpf_consume (pre-rename). All in-tree BPF schedulers are updated to pass 0. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'kernel/livepatch/patch.c')
0 files changed, 0 insertions, 0 deletions