• P
    sched: rt-group: deal with PI · 23b0fdfc
    Peter Zijlstra 提交于
    Steven mentioned the fun case where a lock holding task will be throttled.
    
    Simple fix: allow groups that have boosted tasks to run anyway.
    
    If a runnable task in a throttled group gets boosted the dequeue/enqueue
    done by rt_mutex_setprio() is enough to unthrottle the group.
    
    This is ofcourse not quite correct. Two possible ways forward are:
      - second prio array for boosted tasks
      - boost to a prio ceiling (this would also work for deadline scheduling)
    Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    23b0fdfc
sched_rt.c 28.1 KB