diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-08-23 09:29:42 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-09-08 05:10:56 -0400 |
commit | d1748302f70be7469809809283fe164156a34231 (patch) | |
tree | c81137f4126f2fe1451c28441415c1cd0fa0f7cd /arch/x86/Kconfig | |
parent | 29c158e81c733ac7d6a75c5ee929f34fb9f92983 (diff) |
clockevents: Make minimum delay adjustments configurable
The automatic increase of the min_delta_ns of a clockevents device
should be done in the clockevents code as the minimum delay is an
attribute of the clockevents device.
In addition not all architectures want the automatic adjustment, on a
massively virtualized system it can happen that the programming of a
clock event fails several times in a row because the virtual cpu has
been rescheduled quickly enough. In that case the minimum delay will
erroneously be increased with no way back. The new config symbol
GENERIC_CLOCKEVENTS_MIN_ADJUST is used to enable the automatic
adjustment. The config option is selected only for x86.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: john stultz <johnstul@us.ibm.com>
Link: http://lkml.kernel.org/r/20110823133142.494157493@de.ibm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 6a47bb22657f..a1609cd7e4c6 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -68,6 +68,7 @@ config X86 | |||
68 | select GENERIC_IRQ_PROBE | 68 | select GENERIC_IRQ_PROBE |
69 | select GENERIC_PENDING_IRQ if SMP | 69 | select GENERIC_PENDING_IRQ if SMP |
70 | select GENERIC_IRQ_SHOW | 70 | select GENERIC_IRQ_SHOW |
71 | select GENERIC_CLOCKEVENTS_MIN_ADJUST | ||
71 | select IRQ_FORCED_THREADING | 72 | select IRQ_FORCED_THREADING |
72 | select USE_GENERIC_SMP_HELPERS if SMP | 73 | select USE_GENERIC_SMP_HELPERS if SMP |
73 | select HAVE_BPF_JIT if (X86_64 && NET) | 74 | select HAVE_BPF_JIT if (X86_64 && NET) |