]> git.ipfire.org Git - people/ms/linux.git/commit
uml: track and make up lost ticks
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Aug 2008 20:14:05 +0000 (16:14 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:15:34 +0000 (11:15 -0700)
commite3ac3cda49d4ee77dee42270d02d3996bace3744
treefe0753806115c0302bcc9b61b876e72aa3f83679
parent0273b8ecffb49750e676a49b32c11fc01f11b413
uml: track and make up lost ticks

commit fe2cc53ee013a4d4d0317d418e7019fe6533a5a8 upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/um/include/process.h
arch/um/os-Linux/signal.c
arch/um/os-Linux/time.c