• Ingo Molnar's avatar
    softlockup: fix NOHZ wakeup · 126e01bf
    Ingo Molnar authored
    David Miller reported:
    
    |--------------->
    the following commit:
    
    | commit 27ec4407
    | Author: Ingo Molnar <mingo@elte.hu>
    | Date:   Thu Feb 28 21:00:21 2008 +0100
    |
    |     sched: make cpu_clock() globally synchronous
    |
    |     Alexey Zaytsev reported (and bisected) that the introduction of
    |     cpu_clock() in printk made the timestamps jump back and forth.
    |
    |     Make cpu_clock() more reliable while still keeping it fast when it's
    |     called frequently.
    |
    |     Signed-off-by: Ingo Molnar <mingo@elte.hu>
    
    causes watchdog triggers when a cpu exits NOHZ state when it has been
    there for >= the soft lockup threshold, for example here are some
    messages from a 128 cpu Niagara2 box:
    
    [  168.106406] BUG: soft lockup - CPU#11 stuck for 128s! [dd:3239]
    [  168.989592] BUG: soft lockup - CPU#21 stuck for 86s! [swapper:0]
    [  168.999587] BUG: soft lockup - CPU#29 stuck for 91s! [make:4511]
    [  168.999615] BUG: soft lockup - CPU#2 stuck for 85s! [swapper:0]
    [  16...
    126e01bf
tick-sched.c 17 KB