diff options
| author | Andrea Righi <arighi@nvidia.com> | 2026-10-20 10:43:20 +0200 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-10-20 08:15:45 -1000 |
| commit | 9b5ce4345bf4d01dbf9ae5f6f6b1fb9cfdfc7b48 (patch) | |
| tree | 164801a45dc5fbec698b8aac96c1d5790214ec63 /include/linux | |
| parent | e2859566ffbc3a9f33308255114ccf167124e048 (diff) | |
sched_ext: Use irq_work for deferred actions with proxy execution
maybe_queue_balance_callback() clears SCX_RQ_BAL_CB_PENDING when it
queues the deferred callback. Proxy resolution can then zap the callback
without running it, leaving the deferred actions unscheduled until a
later wakeup or deferred request.
Use the existing irq_work fallback for dispatch-time deferred requests
when proxy execution is enabled. This keeps the work scheduled even if
proxy resolution retries the pick or falls back to idle, without relying
on another SCX dispatch to restore a discarded callback.
Fixes: a8ad873113d3 ("sched_ext: defer queue_balance_callback() until after ops.dispatch")
Reported-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/08cac02c604dd73ef96fc92eb29d692b@kernel.org
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
