]> err.no Git - linux-2.6/commit
softlockup: fix watchdog task wakeup frequency
authorJohannes Weiner <hannes@saeurebad.de>
Tue, 1 Jul 2008 07:12:04 +0000 (09:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 1 Jul 2008 07:22:49 +0000 (09:22 +0200)
commit3e2f69fdd1b00166e7d589bce56b2d36a9e74374
tree005f716dfaf10d91a917a42bfbce3d0b05aec32e
parentdd7a1e5615b1719c0fdffee1ea5a7820ac8141a6
softlockup: fix watchdog task wakeup frequency

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: Johannes Weiner <hannes@saeurebad.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/softlockup.c