• S
    sched: RT-balance, add new methods to sched_class · cb469845
    Steven Rostedt 提交于
    Dmitry Adamushko found that the current implementation of the RT
    balancing code left out changes to the sched_setscheduler and
    rt_mutex_setprio.
    
    This patch addresses this issue by adding methods to the schedule classes
    to handle being switched out of (switched_from) and being switched into
    (switched_to) a sched_class. Also a method for changing of priorities
    is also added (prio_changed).
    
    This patch also removes some duplicate logic between rt_mutex_setprio and
    sched_setscheduler.
    Signed-off-by: NSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    cb469845
sched.h 59.5 KB