diff options
author | Peter Zijlstra | 2008-06-19 09:06:57 +0200 |
---|---|---|
committer | Ingo Molnar | 2008-06-19 09:06:57 +0200 |
commit | ad2a3f13b7258a5daaaeb8cff9f835aac468b71d (patch) | |
tree | ac9ea87be655aba0a372b6b4a25215547da0e291 /kernel/rtmutex_common.h | |
parent | 7ea56616ba6b3d67a4892728182e38ae162ea3e7 (diff) |
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 <a.p.zijlstra@chello.nl>
Tested-by: Daniel K. <dk@uw.no>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rtmutex_common.h')
0 files changed, 0 insertions, 0 deletions