forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
Ingo Molnar
authored and
Linus Torvalds
committed
Jun 25, 2005
1 parent
7f1867a
commit cc19ca8
Showing
4 changed files
with
28 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
config PREEMPT | ||
bool "Preemptible Kernel" | ||
help | ||
This option reduces the latency of the kernel when reacting to | ||
real-time or interactive events by allowing a low priority process to | ||
be preempted even if it is in kernel mode executing a system call. | ||
This allows applications to run more reliably even when the system is | ||
under load. | ||
|
||
Say Y here if you are building a kernel for a desktop, embedded | ||
or real-time system. Say N if you are unsure. | ||
|
||
config PREEMPT_BKL | ||
bool "Preempt The Big Kernel Lock" | ||
depends on PREEMPT | ||
default y | ||
help | ||
This option reduces the latency of the kernel by making the | ||
big kernel lock preemptible. | ||
|
||
Say Y here if you are building a kernel for a desktop system. | ||
Say N if you are unsure. | ||
|