diff options
| author | Andrea Righi <arighi@nvidia.com> | 2026-09-22 18:51:43 +0200 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-09-28 08:44:39 +0200 |
| commit | 57c75e3ae38c40acb5882a57c36f2d5234e066d0 (patch) | |
| tree | ce978e58cdca90291852a48733ba6bf67dfe78aa /tools/lib/python/kdoc/python_version.py | |
| parent | a49653d0abebee32bf3ecf650fae9f9dd8298135 (diff) | |
sched: Add helper to block retained proxy donors
Scheduler ownership changes may need to turn a mutex-blocked task
retained on the runqueue for proxy execution back into a normally
blocked task.
Add sched_proxy_block_task() to perform that transition while holding
p->pi_lock and the task's runqueue lock. Reset an active donor to the
physical current task before blocking it. If DELAY_DEQUEUE keeps a FAIR
donor queued, the immediately following sched_change_begin() completes
the dequeue through switching_from_fair() before recording its queued
state.
This is a preparatory change to support proxy execution with sched_ext.
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: John Stultz <jstultz@google.com>
Link: https://patch.msgid.link/20260922165445.943315-5-arighi@nvidia.com
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
