diff options
author | 2025-03-10 18:04:35 +0100 | |
---|---|---|
committer | 2025-04-08 20:55:53 +0200 | |
commit | a5a25b32c08a31c03258ec4960bec26caaf76e9a (patch) | |
tree | f8a511ebe7aa4135262a64d70893b634bbf24cc1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched: Remove unneeed macro wrap (diff) | |
download | linux-rng-a5a25b32c08a31c03258ec4960bec26caaf76e9a.tar.xz linux-rng-a5a25b32c08a31c03258ec4960bec26caaf76e9a.zip |
sched: Always initialize rt_rq's task_group
rt_rq->tg may be NULL which denotes the root task_group.
Store the pointer to root_task_group directly so that callers may use
rt_rq->tg homogenously.
root_task_group exists always with CONFIG_CGROUPS_SCHED,
CONFIG_RT_GROUP_SCHED depends on that.
This changes root level rt_rq's default limit from infinity to the
value of (originally) global RT throttling.
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-4-mkoutny@suse.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions