diff options
| author | Tejun Heo <tj@kernel.org> | 2026-03-06 20:58:03 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-06 20:58:03 +0300 |
| commit | bb4d9fd551588165dc918aa2f2108b939e3367db (patch) | |
| tree | 79e53560caf9ba43a0191d8439ad6acb484825fa /include/linux/array_size.h | |
| parent | 245d09c594ea40dbd4b8f989f2422dbc8e65a61c (diff) | |
| download | linux-bb4d9fd551588165dc918aa2f2108b939e3367db.tar.xz | |
sched_ext: scx_dsq_move() should validate the task belongs to the right scheduler
scx_bpf_dsq_move[_vtime]() calls scx_dsq_move() to move task from a DSQ to
another. However, @p doesn't necessarily have to come form the containing
iteration and can thus be a task which belongs to another scx_sched. Verify
that @p is on the same scx_sched as the DSQ being iterated.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'include/linux/array_size.h')
0 files changed, 0 insertions, 0 deletions
