]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Add scx_vet_enq_flags() and plumb dsq_id into preamble
authorTejun Heo <tj@kernel.org>
Fri, 13 Mar 2026 19:43:22 +0000 (09:43 -1000)
committerTejun Heo <tj@kernel.org>
Fri, 13 Mar 2026 19:43:22 +0000 (09:43 -1000)
commitb5b38761b45a6c7d91760d212fda8b46df8c5362
tree56ee41c78a2b118e77e2c6e26bd6940ffda5a670
parentf1c1dd9cc1b610e44d16210f5b9bd5e697c7cf74
sched_ext: Add scx_vet_enq_flags() and plumb dsq_id into preamble

Add scx_vet_enq_flags() stub and call it from scx_dsq_insert_preamble() and
scx_dsq_move(). Pass dsq_id into preamble so the vetting function can
validate flag and DSQ combinations.

No functional change. This prepares for SCX_ENQ_IMMED which will populate the
vetting function.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
kernel/sched/ext.c