diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2025-12-10 09:06:50 +0100 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2025-12-17 10:53:25 +0100 |
| commit | 704069649b5bfb7bf1fe32c0281fe9036806a59a (patch) | |
| tree | 19f57962e5dc941e013503d28724f9d1bc8bf0ab /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 527a521029c3edd38fb9fc96cd58e3fd7393d28e (diff) | |
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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
