• Johannes Weiner's avatar
    softlockup: fix watchdog task wakeup frequency · 3e2f69fd
    Johannes Weiner authored
    The print_timestamp can never be bigger than the touch_timestamp, at
    maximum it can be equal.  And if it is, the second check for
    touch_timestamp + 1 bigger print_timestamp is always true, too.
    
    The check for equality is sufficient as we proceed in one-second-steps
    and are at least one second away from the last print-out if we have
    another timestamp.
    Signed-off-by: default avatarJohannes Weiner <hannes@saeurebad.de>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    3e2f69fd
softlockup.c 8.52 KB