• Thomas Gleixner's avatar
    sched: Prevent boosting of idle task on -rt · 4ee888c3
    Thomas Gleixner authored
    Idle task boosting is a nono in general. There is one exception, when
    NOHZ is active:
    
    The idle task calls get_next_timer_interrupt() and holds the timer
    wheel base->lock on the CPU and another CPU wants to access the timer
    (probably to cancel it). We can safely ignore the boosting request, as
    the idle CPU runs this code with interrupts disabled and will complete
    the lock protected section without being interrupted. So there is no
    real need to boost.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    4ee888c3
sched.c 267 KB