sched/fair: Use task_groups instead of leaf_cfs_rq_list to walk all cfs_rqs
authorPeter Zijlstra <peterz@infradead.org>
Thu, 4 May 2017 13:31:22 +0000 (15:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 15 May 2017 08:15:35 +0000 (10:15 +0200)
commit502ce005ab95d5d9481768649dbab808845b24d7
treeaab9cc2c8ef8ddfdc8ac1dde5b09f577f69fa9ab
parentae4df9d6c935105857d9d166b615e3f17531ce6b
sched/fair: Use task_groups instead of leaf_cfs_rq_list to walk all cfs_rqs

In order to allow leaf_cfs_rq_list to remove entries switch the
bandwidth hotplug code over to the task_groups list.

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Chris Mason <clm@fb.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Turner <pjt@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170504133122.a6qjlj3hlblbjxux@hirez.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c