sched: Add support for unthrottling group entities
authorPaul Turner <pjt@google.com>
Thu, 21 Jul 2011 16:43:34 +0000 (09:43 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Aug 2011 10:03:36 +0000 (12:03 +0200)
commit671fd9dabe5239ad218c7eb48b2b9edee50250e6
tree351f59453eb699661bd811210f24d8b7fd554ca4
parent85dac906bec3bb41bfaa7ccaa65c4706de5cfdf8
sched: Add support for unthrottling group entities

At the start of each period we refresh the global bandwidth pool.  At this time
we must also unthrottle any cfs_rq entities who are now within bandwidth once
more (as quota permits).

Unthrottled entities have their corresponding cfs_rq->throttled flag cleared
and their entities re-enqueued.

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.574628950@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_fair.c
This page took 0.024236 seconds and 5 git commands to generate.