]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit4ab6a219113197425ac112e35e1ec8062c69888e
treedd5458a0dd70c00ef6ba171e7369148905f0b27c
parentdfdf748a61a21b7397b9f57c83de722de71dc56a
clocksource, acpi_pm.c: check for monotonicity

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>
drivers/clocksource/acpi_pm.c