diff options
author | Michal Koutný <mkoutny@suse.com> | 2025-03-10 18:04:37 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-04-08 20:55:53 +0200 |
commit | 61d3164fec2ed283645dc17fcc51959e8f361e18 (patch) | |
tree | ff6eda19b63035c31b93cf9f7a053213135bf023 /tools/perf/scripts/python/task-analyzer.py | |
parent | e34e0131fea1b0f63c2105a1958c94af2ee90f4d (diff) |
sched: Skip non-root task_groups with disabled RT_GROUP_SCHED
First, we want to prevent placement of RT tasks on non-root rt_rqs which
we achieve in the task migration code that'd fall back to
root_task_group's rt_rq.
Second, we want to work with only root_task_group's rt_rq when iterating
all "real" rt_rqs when RT_GROUP is disabled. To achieve this we keep
root_task_group as the first one on the task_groups and break out
quickly.
Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250310170442.504716-6-mkoutny@suse.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions