aboutsummaryrefslogtreecommitdiff
path: root/kernel/rtmutex_common.h
diff options
context:
space:
mode:
authorPeter Zijlstra2008-06-19 09:06:57 +0200
committerIngo Molnar2008-06-19 09:06:57 +0200
commitad2a3f13b7258a5daaaeb8cff9f835aac468b71d (patch)
treeac9ea87be655aba0a372b6b4a25215547da0e291 /kernel/rtmutex_common.h
parent7ea56616ba6b3d67a4892728182e38ae162ea3e7 (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