aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/Kconfig
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-10-16 04:27:25 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:08 -0400
commitd2753a6d199791a6abc75d9f657e3457fe61705f (patch)
treec4cda30f216d6c045ca2b83bee1fa6bc4dfc3de3 /arch/um/Kconfig
parent791a644a8d73a9b95515f074afbb3caa0a9964fa (diff)
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>
Diffstat (limited to 'arch/um/Kconfig')
-rw-r--r--arch/um/Kconfig12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig
index 64fe8d5c067a..740d8a922e48 100644
--- a/arch/um/Kconfig
+++ b/arch/um/Kconfig
@@ -250,18 +250,6 @@ config KERNEL_STACK_ORDER
250 be 1 << order pages. The default is OK unless you're running Valgrind 250 be 1 << order pages. The default is OK unless you're running Valgrind
251 on UML, in which case, set this to 3. 251 on UML, in which case, set this to 3.
252 252
253config UML_REAL_TIME_CLOCK
254 bool "Real-time Clock"
255 default y
256 help
257 This option makes UML time deltas match wall clock deltas. This
258 should normally be enabled. The exception would be if you are
259 debugging with UML and spend long times with UML stopped at a
260 breakpoint. In this case, when UML is restarted, it will call the
261 timer enough times to make up for the time spent at the breakpoint.
262 This could result in a noticeable lag. If this is a problem, then
263 disable this option.
264
265endmenu 253endmenu
266 254
267source "init/Kconfig" 255source "init/Kconfig"