summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-08-03 11:00:57 -1000
committerTejun Heo <tj@kernel.org>2026-08-03 11:00:57 -1000
commit1fd50778b18d44095adfe5dab2f2a84fcc0fb7a4 (patch)
tree75c6dd64ac557d35448128082cf0f0ff0afe00c3 /tools/perf/scripts/python/task-analyzer.py
parentf82b16b8e8f91e973e7c4ca4f6ac84b6385e48eb (diff)
sched_ext: Reject internal enq_flags in the dsq move kfuncs
The dsq insert kfuncs reject __SCX_ENQ_INTERNAL_MASK bits in scx_dsq_insert_preamble() instead of scx_vet_enq_flags(). A scheduler can smuggle internal flags such as SCX_ENQ_CLEAR_OPSS through the dsq move kfuncs and corrupt the dispatch protocol. Move the rejection into scx_vet_enq_flags(). The vtime move wrapper OR'd the internal SCX_ENQ_DSQ_PRIQ bit into enq_flags before the vet; the bit now goes in inside scx_dsq_move() after the vet. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions