sched: Add a timer to handle CFS bandwidth refresh
authorPaul Turner <pjt@google.com>
Thu, 21 Jul 2011 16:43:31 +0000 (09:43 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Aug 2011 10:03:28 +0000 (12:03 +0200)
commit58088ad0152ba4b7997388c93d0ca208ec1ece75
tree22d818b745056effc53ee6fa97ee9103548766b5
parentec12cb7f31e28854efae7dd6f9544e0a66379040
sched: Add a timer to handle CFS bandwidth refresh

This patch adds a per-task_group timer which handles the refresh of the global
CFS bandwidth pool.

Since the RT pool is using a similar timer there's some small refactoring to
share this support.

Signed-off-by: Paul Turner <pjt@google.com>
Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110721184757.277271273@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_fair.c