]> www.infradead.org Git - users/hch/misc.git/commit
sched_ext: scx_bpf_dispatch_from_dsq_set_*() are allowed from unlocked context
authorTejun Heo <tj@kernel.org>
Sat, 9 Nov 2024 19:40:25 +0000 (09:40 -1000)
committerTejun Heo <tj@kernel.org>
Sat, 9 Nov 2024 19:40:25 +0000 (09:40 -1000)
commit72b85bf6a7f6f6c38c39a1e5b04bc1da1bf5016e
tree51e80996632f64dc12fa4e0b365ae81ba5f600cf
parentf39489fea677ad78ca4ce1ab2d204a6639b868dc
sched_ext: scx_bpf_dispatch_from_dsq_set_*() are allowed from unlocked context

4c30f5ce4f7a ("sched_ext: Implement scx_bpf_dispatch[_vtime]_from_dsq()")
added four kfuncs for dispatching while iterating. They are allowed from the
dispatch and unlocked contexts but two of the kfuncs were only added in the
dispatch section. Add missing declarations in the unlocked section.

Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 4c30f5ce4f7a ("sched_ext: Implement scx_bpf_dispatch[_vtime]_from_dsq()")
kernel/sched/ext.c