• Frederic Weisbecker's avatar
    nohz: nohz full depends on irq work self IPI support · 9b01f5bf
    Frederic Weisbecker authored
    The nohz full functionality depends on IRQ work to trigger its own
    interrupts. As it's used to restart the tick, we can't rely on the tick
    fallback for irq work callbacks, ie: we can't use the tick to restart
    the tick itself.
    
    Lets reject the full dynticks initialization if that arch support isn't
    available.
    
    As a side effect, this makes sure that nohz kick is never called from
    the tick. That otherwise would result in illegal hrtimer self-cancellation
    and lockup.
    Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    9b01f5bf
tick-sched.c 30.3 KB