aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/Kconfig.preempt
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2005-06-25 17:57:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 19:24:45 -0400
commitcc19ca86a023fcd552c78e77a7be6ce271f92a28 (patch)
treeb4e9c9b02b73105d363070c49a765208b99cee1a /kernel/Kconfig.preempt
parent7f1867a5b3dc3034cbea403b229d65eed4a7f62e (diff)
[PATCH] consolidate PREEMPT options into kernel/Kconfig.preempt
This patch consolidates the CONFIG_PREEMPT and CONFIG_PREEMPT_BKL preemption options into kernel/Kconfig.preempt. This, besides reducing source-code, also enables more centralized tweaking of preemption related options. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/Kconfig.preempt')
-rw-r--r--kernel/Kconfig.preempt24
1 files changed, 24 insertions, 0 deletions
diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
new file mode 100644
index 00000000000..587328be821
--- /dev/null
+++ b/kernel/Kconfig.preempt
@@ -0,0 +1,24 @@
1
2config PREEMPT
3 bool "Preemptible Kernel"
4 help
5 This option reduces the latency of the kernel when reacting to
6 real-time or interactive events by allowing a low priority process to
7 be preempted even if it is in kernel mode executing a system call.
8 This allows applications to run more reliably even when the system is
9 under load.
10
11 Say Y here if you are building a kernel for a desktop, embedded
12 or real-time system. Say N if you are unsure.
13
14config PREEMPT_BKL
15 bool "Preempt The Big Kernel Lock"
16 depends on PREEMPT
17 default y
18 help
19 This option reduces the latency of the kernel by making the
20 big kernel lock preemptible.
21
22 Say Y here if you are building a kernel for a desktop system.
23 Say N if you are unsure.
24