]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] disable lost tick compensation before TSCs are synced
authorjohn stultz <johnstul@us.ibm.com>
Wed, 1 Feb 2006 11:05:19 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:14 +0000 (08:53 -0800)
commit2f5a66d000a338a96d0823c3c1e25d3d9a509189
tree4e7dcee0443cb0595258f9c8bd16982ba87386f4
parentba7becef54537426e5207abbfdda6a0b1c268d55
[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