]> git.baikalelectronics.ru Git - kernel.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)
commit37538eb5f9093fc25131164b1742074dfbc7573d
treedd5458a0dd70c00ef6ba171e7369148905f0b27c
parent47aebcaf9a55436f82c720e7b095ff780605398a
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