[PATCH] disable lost tick compensation before TSCs are synced
commitbfaa1deeb982c985d8e0435e835baeaae63b57fd
authorjohn stultz <johnstul@us.ibm.com>
Wed, 1 Feb 2006 11:05:19 +0000 (1 03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:14 +0000 (1 08:53 -0800)
tree4e7dcee0443cb0595258f9c8bd16982ba87386f4
parent2f7016d917faef8f1e016b4a7bd7f594694480b6
[PATCH] disable lost tick compensation before TSCs are synced

Avoid lost tick compensation early in boot before the TSCs are
synchronized.  Currently timekeeping is enabled before the TSCs are
synchronized, thus when the TSCs are synched (reset to zero), it appears
that a number of lost ticks have occurred.  This can cause premature expiry
of timers and in extreme cases can cause the soft lockup detection to fire.

This resolves issues reported by Andy Whitcroft as well as bug #5366
reported by Tim Mann.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Acked-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/timers/timer_tsc.c