Commit 2019f5cd authored by Mike Galbraith's avatar Mike Galbraith Committed by Patrick Tjin

sched,cgroup: Fix up task_groups list

With multiple instances of task_groups, for_each_rt_rq() is a noop,
no task groups having been added to the rt.c list instance.  This
renders __enable/disable_runtime() and print_rt_stats() noop, the
user (non) visible effect being that rt task groups are missing in
Signed-off-by: default avatarMike Galbraith <>
Cc: # v3.3+
Signed-off-by: default avatarPeter Zijlstra <>
Link: default avatarThomas Gleixner <>
Bug: 18729519
Change-Id: I415af0d95b2cb2e6bf9910513bc7470056b0cfa9
parent d1c7e8b1
......@@ -6922,6 +6922,7 @@ int in_sched_functions(unsigned long addr)
struct task_group root_task_group;
DECLARE_PER_CPU(cpumask_var_t, load_balance_tmpmask);
......@@ -80,7 +80,7 @@ extern struct mutex sched_domains_mutex;
struct cfs_rq;
struct rt_rq;
static LIST_HEAD(task_groups);
extern struct list_head task_groups;
struct cfs_bandwidth {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment