• Steven Rostedt's avatar
    sched: RT-balance, add new methods to sched_class · cb469845
    Steven Rostedt authored
    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: default avatarSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    cb469845
sched_rt.c 22 KB