sched,cgroup: Fix up task_groups list
authorMike Galbraith <efault@gmx.de>
Tue, 7 Aug 2012 03:00:13 +0000 (05:00 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 13 Aug 2012 16:41:54 +0000 (18:41 +0200)
commit35cf4e50b16331def6cfcbee11e49270b6db07f5
tree0db0da974b4c4a563811bbf734a8d7cf116ae597
parentbea6832cc8c4a0a9a65dd17da6aaa657fe27bc3e
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
/proc/sched_debug.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: stable@kernel.org # v3.3+
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1344308413.6846.7.camel@marge.simpson.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched/core.c
kernel/sched/sched.h