]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched,cgroup: Fix up task_groups list
authorMike Galbraith <efault@gmx.de>
Tue, 7 Aug 2012 03:00:13 +0000 (05:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 17:00:20 +0000 (10:00 -0700)
commit0f342b96d471d48fb151ae9073e58e0510e0a58f
tree58a1e4265c0a36975e487b02027915274ee701bc
parent3465c32ced49e3c04b7e280843f1a93ec8de8aff
sched,cgroup: Fix up task_groups list

commit 35cf4e50b16331def6cfcbee11e49270b6db07f5 upstream.

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>
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/sched/core.c
kernel/sched/sched.h