diff options
| author | John Stultz <jstultz@google.com> | 2026-05-14 23:47:17 +0000 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-05-19 12:17:39 +0200 |
| commit | 04f80f8b12a02fa2e0827c8f37eb357adca8ce44 (patch) | |
| tree | 8e40be4f3cdf89f96cd5758f08375cb646ba713f /scripts/patch-kernel | |
| parent | 61ea17a63719bac51e1bc50eb39fc637f0fdc06e (diff) | |
sched: Switch rq->next_class on proxy_resched_idle()
K Prateek noticed we weren't setting the rq->next_class in
proxy_resched_idle(), when I was debugging an issue seen with
CONFIG_SCHED_PROXY_EXEC and some of Peter's new patches, and
suggested this fix.
So set rq->next_class when we temporarily switch the donor to
idle, so we don't accidentally call wakeup_preempt_fair()
with idle as the donor.
Suggested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: John Stultz <jstultz@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260514234732.3170197-1-jstultz@google.com
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
