uml: tickless support
authorJeff Dike <jdike@addtoit.com>
Tue, 16 Oct 2007 08:27:25 +0000 (01:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:08 +0000 (09:43 -0700)
commitd2753a6d199791a6abc75d9f657e3457fe61705f
treec4cda30f216d6c045ca2b83bee1fa6bc4dfc3de3
parent791a644a8d73a9b95515f074afbb3caa0a9964fa
uml: tickless support

Enable tickless support.

CONFIG_TICK_ONESHOT and CONFIG_NO_HZ are enabled.

itimer_clockevent gets CLOCK_EVT_FEAT_ONESHOT and an implementation of
.set_next_event.

CONFIG_UML_REAL_TIME_CLOCK goes away because it only makes sense when there is
a clock ticking away all the time.  timer_handler now just calls do_IRQ once
without trying to figure out how many ticks to emulate.

The idle loop now needs to turn ticking on and off.

Userspace ticks keep happening as usual.  However, the userspace loop keep
track of when the next wakeup should happen and suppresses process ticks until
that happens.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/Kconfig
arch/um/defconfig
arch/um/include/os.h
arch/um/kernel/process.c
arch/um/kernel/time.c
arch/um/os-Linux/skas/process.c
arch/um/os-Linux/time.c