clocksource, acpi_pm.c: check for monotonicity
authorDominik Brodowski <linux@dominikbrodowski.net>
Fri, 5 Sep 2008 21:05:35 +0000 (14:05 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 6 Sep 2008 13:33:33 +0000 (15:33 +0200)
The current check for monotonicity is way too weak: Andreas Mohr reports (
http://lkml.org/lkml/2008/8/10/77 ) that on one of his test systems the
current check only triggers in 50% of all cases, leading to catastrophic
timer behaviour.  To fix this issue, expand the check for monotonicity by
doing ten consecutive tests instead of one.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found