summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2026-11-07 12:36:39 +0100
committerPeter Zijlstra <peterz@infradead.org>2026-11-18 14:32:16 +0100
commit75545668ae0fd80c08fe8fd0c6799b2ba9284557 (patch)
treefc37962f626eec8dbedfe095146478a01e29317a /tools/perf/scripts/python
parent9a92f776dfa6a88fc16fe0512c725734190bf9d0 (diff)
sched/fair: Make cfs_rq::idle the sum of ancestor tg::idle
Rather than keeping cfs_rq::idle as a copy of tg::idle, make it the sum of all ancestor tg::idle. This makes it trivial to tell if the current cgroup is marked idle somewhere along its ancestral path. This makes se_is_idle() behave differently. Notably is will now be true when there is a idle cgroup anywhere in the ancestor path. This addresses an issue where preemption of cgroup::idle was overlooked when flattening the runqueue. Fixes: 85570f10a4c6 ("sched/eevdf: Move to a single runqueue") Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Kayra Cizmeci <kayracizmeci@gmail.com> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org> Reviewed-by: Josh Don <joshdon@google.com> Link: https://patch.msgid.link/20261107113639.GK2668200@noisy.programming.kicks-ass.net
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions