]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] adjust clock for lost ticks
authorRoman Zippel <zippel@linux-m68k.org>
Mon, 10 Jul 2006 11:44:32 +0000 (04:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:18 +0000 (13:24 -0700)
commit2d85676ff193640cb3b6ac0812621e6f17609708
tree699be5e589775061d4279a7439ba5b2dc517078b
parentdacc25f36de296ef2721353a1460b9639c47c909
[PATCH] adjust clock for lost ticks

A large number of lost ticks can cause an overadjustment of the clock.  To
compensate for this we look at the current error and the larger the error
already is the more careful we are at adjusting the error.  As small extra
fix reset the error when the clock is set.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Acked-by: john stultz <johnstul@us.ibm.com>
Cc: Uwe Bugla <uwe.bugla@gmx.de>
Cc: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/timer.c