diff options
| author | 2026-03-13 09:43:23 -1000 | |
|---|---|---|
| committer | 2026-03-13 09:43:23 -1000 | |
| commit | 238eba8c210d02ec2908d9c9143db4edcea3bfa1 (patch) | |
| tree | bf67e3e255ec055a090fe704dffbdd7cea083596 /rust/kernel/num/ssh:/git@git.zx2c4.com | |
| parent | sched_ext: Add SCX_OPS_ALWAYS_ENQ_IMMED ops flag (diff) | |
sched_ext: Use schedule_deferred_locked() in schedule_dsq_reenq()
schedule_dsq_reenq() always uses schedule_deferred() which falls back to
irq_work. However, callers like schedule_reenq_local() already hold the
target rq lock, and scx_bpf_dsq_reenq() may hold it via the ops callback.
Add a locked_rq parameter so schedule_dsq_reenq() can use
schedule_deferred_locked() when the target rq is already held. The locked
variant can use cheaper paths (balance callbacks, wakeup hooks) instead of
always bouncing through irq_work.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'rust/kernel/num/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
