summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-03-06 20:58:03 +0300
committerTejun Heo <tj@kernel.org>2026-03-06 20:58:03 +0300
commit245d09c594ea40dbd4b8f989f2422dbc8e65a61c (patch)
tree3202c2d38dbfb07f8e141e8a9eb1f68a85a5f6c0 /include
parenta5fa0708cbfda4d3c2c6a447de7c4b0b23595527 (diff)
downloadlinux-245d09c594ea40dbd4b8f989f2422dbc8e65a61c.tar.xz
sched_ext: Enforce scheduler ownership when updating slice and dsq_vtime
scx_bpf_task_set_slice() and scx_bpf_task_set_dsq_vtime() now verify that the calling scheduler has authority over the task before allowing updates. This prevents schedulers from modifying tasks that don't belong to them in hierarchical scheduling configurations. Direct writes to p->scx.slice and p->scx.dsq_vtime are deprecated and now trigger warnings. They will be disallowed in a future release. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions