aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-08-13 14:38:17 -0400
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-08-13 14:34:38 -0400
commitd45a398fca6b03f16d01c9253c3a8c96d804f532 (patch)
treedc8b7971555641c94910e2fb9d5266597616213d /arch/arm/Kconfig
parent0d928b0b616d1c5c5fe76019a87cba171ca91633 (diff)
Use kernel/Kconfig.preempt for ARM
before this patch ARM had it's own definition of CONFIG_PREEMPT. Instead of that use the general definition provided in kernel/Kconfig.preempt. This patch changes the available options in *config. Namely PREEMPT isn't a stand alone bool anymore, but part of a 'choice' the following Kconfig symbols are added: PREEMPT_NONE PREEMPT_VOLUNTARY Selecting PREEMPT_NONE now produces exactly the code as not selecting PREEMPT before (apart from a comment in /sys/kernel/debug/tracing/(per_cpu/cpuX/)?trace). The only difference PREEMPT_VOLUNTARY does is that might_resched might reschedule. Both should't introduce regressions. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Russell King <linux@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig13
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index aef63c8e3d2d..eac1a927ca6e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -962,18 +962,7 @@ config LOCAL_TIMERS
962 accounting to be spread across the timer interval, preventing a 962 accounting to be spread across the timer interval, preventing a
963 "thundering herd" at every timer tick. 963 "thundering herd" at every timer tick.
964 964
965config PREEMPT 965source kernel/Kconfig.preempt
966 bool "Preemptible Kernel (EXPERIMENTAL)"
967 depends on EXPERIMENTAL
968 help
969 This option reduces the latency of the kernel when reacting to
970 real-time or interactive events by allowing a low priority process to
971 be preempted even if it is in kernel mode executing a system call.
972 This allows applications to run more reliably even when the system is
973 under load.
974
975 Say Y here if you are building a kernel for a desktop, embedded
976 or real-time system. Say N if you are unsure.
977 966
978config HZ 967config HZ
979 int 968 int