aboutsummaryrefslogtreecommitdiff
path: root/kernel/rtmutex-debug.c
diff options
context:
space:
mode:
authorYong Zhang <[email protected]>2011-06-28 10:51:31 +0800
committerIngo Molnar <[email protected]>2011-07-01 10:39:08 +0200
commit1c09ab0d257317f97e8629a3d0c8713d6dd9de4c (patch)
tree81562207cd4b6f6579275d61ea92a7d7b6bbd9ef /kernel/rtmutex-debug.c
parent307bf9803f25a8a3f53c1012110fb74e2f893eb0 (diff)
sched: Skip autogroup when looking for all rt sched groups
Since commit ec514c48 ("sched: Fix rt_rq runtime leakage bug") 'cat /proc/sched_debug' will print data of root_task_group.rt_rq multiple times. This is because autogroup does not have its own rt group, instead rt group of autogroup is linked to root_task_group. So skip it when we are looking for all rt sched groups, and it will also save some noop operation against root_task_group when __disable_runtime()/__enable_runtime(). -v2: Based on Cheng Xu's idea which uses less code. Signed-off-by: Yong Zhang <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Cheng Xu <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions