]> git.baikalelectronics.ru Git - kernel.git/commit
uml: track and make up lost ticks
authorJeff Dike <jdike@addtoit.com>
Mon, 12 May 2008 21:02:00 +0000 (14:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 May 2008 15:02:22 +0000 (08:02 -0700)
commita704e1d23f1ba1f941ef40924090c274ab9c85da
tree7a173e2703c638b8eab4a2a6762c256114acec60
parent41ca3108851cb882a8238502d45baf6bdfe219fb
uml: track and make up lost ticks

Alarm delivery could be noticably late in the !CONFIG_NOHZ case because lost
ticks weren't being taken into account.  This is now treated more carefully,
with the time between ticks being calculated and the appropriate number of
ticks delivered to the timekeeping system.

Cc: Nix <nix@esperi.org.uk>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/include/process.h
arch/um/os-Linux/signal.c
arch/um/os-Linux/time.c