From: Peter Zijlstra Date: Thu, 19 Jun 2008 07:06:57 +0000 (+0200) Subject: sched: rt-group: heirarchy aware throttle X-Git-Tag: v2.6.26-rc7~7^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad2a3f13b7258a5daaaeb8cff9f835aac468b71d;p=pandora-kernel.git sched: rt-group: heirarchy aware throttle The bandwidth throttle code dequeues a group when it runs out of quota, and re-queues it once the period rolls over and the quota gets refreshed. Sadly it failed to take the hierarchy into consideration. Share more of the enqueue/dequeue code with regular task opterations. Also, some operations like sched_setscheduler() can dequeue/enqueue tasks that are in throttled runqueues, we should not inadvertly re-enqueue empty runqueues so check for that. Signed-off-by: Peter Zijlstra Tested-by: Daniel K. Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed