Commit 54e9625
committed
sched_ext: Mark scx_bpf_dsq_move_set_[slice|vtime]() with KF_RCU
scx_bpf_dsq_move_set_slice() and scx_bpf_dsq_move_set_vtime() take a DSQ
iterator argument which has to be valid. Mark them with KF_RCU.
Fixes: 4c30f5c ("sched_ext: Implement scx_bpf_dispatch[_vtime]_from_dsq()")
Cc: stable@vger.kernel.org # v6.12+
Acked-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>1 parent 3a86608 commit 54e9625
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5688 | 5688 | | |
5689 | 5689 | | |
5690 | 5690 | | |
5691 | | - | |
5692 | | - | |
| 5691 | + | |
| 5692 | + | |
5693 | 5693 | | |
5694 | 5694 | | |
5695 | 5695 | | |
| |||
5820 | 5820 | | |
5821 | 5821 | | |
5822 | 5822 | | |
5823 | | - | |
5824 | | - | |
| 5823 | + | |
| 5824 | + | |
5825 | 5825 | | |
5826 | 5826 | | |
5827 | 5827 | | |
| |||
0 commit comments