diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2025-12-10 11:06:50 +0300 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2025-12-17 12:53:25 +0300 |
| commit | 704069649b5bfb7bf1fe32c0281fe9036806a59a (patch) | |
| tree | 19f57962e5dc941e013503d28724f9d1bc8bf0ab /include/linux | |
| parent | 527a521029c3edd38fb9fc96cd58e3fd7393d28e (diff) | |
| download | linux-704069649b5bfb7bf1fe32c0281fe9036806a59a.tar.xz | |
sched/core: Rework sched_class::wakeup_preempt() and rq_modified_*()
Change sched_class::wakeup_preempt() to also get called for
cross-class wakeups, specifically those where the woken task
is of a higher class than the previous highest class.
In order to do this, track the current highest class of the runqueue
in rq::next_class and have wakeup_preempt() track this upwards for
each new wakeup. Additionally have schedule() re-set the value on
pick.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://patch.msgid.link/20251127154725.901391274@infradead.org
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
