From 06811fae58d6acb74c7253b8cb02d73698f49b45 Mon Sep 17 00:00:00 2001 From: Frederic Weisbecker Date: Wed, 10 Aug 2011 23:21:01 +0200 Subject: [PATCH] --- yaml --- r: 372903 b: refs/heads/master c: 3ca277e41914ab344214ed50a41c14c48ae973f3 h: refs/heads/master i: 372901: 889725f315d38a213306b20050aa2e763e60418d 372899: 4ec1dbe71c01bcbe246f8649135983ea4d85bf02 372895: 58a754bfaa2bb8c36f2f9706872dab2757f9f683 v: v3 --- [refs] | 2 +- trunk/kernel/time/Kconfig | 28 +++++++++++++++++++++++----- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 83aa8eda9c74..97391dfd8cf9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3451d0243c3cdfd729b36f9684a14659d4895ca3 +refs/heads/master: 3ca277e41914ab344214ed50a41c14c48ae973f3 diff --git a/trunk/kernel/time/Kconfig b/trunk/kernel/time/Kconfig index c88fc43494c9..27cc404ea187 100644 --- a/trunk/kernel/time/Kconfig +++ b/trunk/kernel/time/Kconfig @@ -75,17 +75,33 @@ config NO_HZ_COMMON depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS select TICK_ONESHOT +# Kept around for compatibility, maps to NO_HZ_IDLE config NO_HZ - bool "Tickless System (Dynamic Ticks)" + bool + +choice + prompt "Timer tick handling" + default NO_HZ_IDLE if NO_HZ + +config PERIODIC_HZ + bool "Periodic timer ticks (constant rate, no dynticks)" + help + This option keeps the tick running periodically at a constant + rate, even when the CPU doesn't need it. + +config NO_HZ_IDLE + bool "Idle dynticks system (tickless idle)" depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS select NO_HZ_COMMON help - This option enables a tickless system: timer interrupts will - only trigger on an as-needed basis both when the system is - busy and when the system is idle. + This option enables a tickless idle system: timer interrupts + will only trigger on an as-needed basis when the system is idle. + This is usually interesting for energy saving. + + Most of the time you want to say Y here. config NO_HZ_EXTENDED - bool "Full dynticks system" + bool "Full dynticks system (tickless single task)" # NO_HZ_COMMON dependency depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS # RCU_USER_QS @@ -112,6 +128,8 @@ config NO_HZ_EXTENDED Say N. +endchoice + config HIGH_RES_TIMERS bool "High Resolution Timer Support" depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS