diff options
author | 2025-03-10 18:04:39 +0100 | |
---|---|---|
committer | 2025-04-08 20:55:54 +0200 | |
commit | d6809c2f606c14f9e95be87d75a576901d2fa050 (patch) | |
tree | 3a53b035d4b56d3739edccaf707d136aa8eb3356 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched: Bypass bandwitdh checks with runtime disabled RT_GROUP_SCHED (diff) | |
download | linux-rng-d6809c2f606c14f9e95be87d75a576901d2fa050.tar.xz linux-rng-d6809c2f606c14f9e95be87d75a576901d2fa050.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions