summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2025-10-06 15:51:45 -1000
committerTejun Heo <tj@kernel.org>2025-10-13 08:49:29 -1000
commit3035addfaf285f32d1f513d181ebcb85924ae3c3 (patch)
tree7b891db099e10a42e8c70c7e966aed393eba8df7 /rust/helpers/workqueue.c
parent111a79800aeda615797f20b3a00ef116edce9e03 (diff)
sched_ext: Add scx_bpf_task_set_slice() and scx_bpf_task_set_dsq_vtime()
With the planned hierarchical scheduler support, sub-schedulers will need to be verified for authority before being allowed to modify task->scx.slice and task->scx.dsq_vtime. Add scx_bpf_task_set_slice() and scx_bpf_task_set_dsq_vtime() which will perform the necessary permission checks. Root schedulers can still directly write to these fields, so this doesn't affect existing schedulers. Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions