diff options
author | Michal Koutný <mkoutny@suse.com> | 2025-03-10 18:04:39 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-04-08 20:55:54 +0200 |
commit | d6809c2f606c14f9e95be87d75a576901d2fa050 (patch) | |
tree | 3a53b035d4b56d3739edccaf707d136aa8eb3356 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 277e0909754e9f3c82def97150d2f3ea700098f1 (diff) |
sched: Do not construct nor expose RT_GROUP_SCHED structures if disabled
Thanks to kernel cmdline being available early, before any
cgroup hierarchy exists, we can achieve the RT_GROUP_SCHED boottime
disabling goal by simply skipping any creation (and destruction) of
RT_GROUP data and its exposure via RT attributes.
We can do this thanks to previously placed runtime guards that would
redirect all operations to root_task_group's data when RT_GROUP_SCHED
disabled.
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-8-mkoutny@suse.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions