-
由 Peter Zijlstra 提交于
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: NPeter Zijlstra <a.p.zijlstra@chello.nl> Tested-by: NDaniel K. <dk@uw.no> Signed-off-by: NIngo Molnar <mingo@elte.hu>
ad2a3f13