Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Kernel v2.6.25-rc7 /kernel/Kconfig.preempt

Filename:/kernel/Kconfig.preempt
Lines Added:21
Lines Deleted:7
Also changed in: (Previous) 2.6.25-rc6  2.6.25-rc5-git7  2.6.25-rc5-git6  2.6.25-rc5-git5  2.6.25-rc5-git4  2.6.25-rc5-git3 
(Following) 2.6.25-rc8  2.6.25-rc9  2.6.25 

Location
[  2.6.25-rc7
  [  kernel
     o  Kconfig.preempt

Patch

diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
index c64ce9c..9fdba03 100644
--- a/kernel/Kconfig.preempt
+++ b/kernel/Kconfig.preempt
@@ -52,14 +52,28 @@ config PREEMPT
 
 endchoice
 
-config PREEMPT_BKL
-   bool "Preempt The Big Kernel Lock"
-   depends on SMP || PREEMPT
-   default y
+config PREEMPT_RCU
+   bool "Preemptible RCU"
+   depends on PREEMPT
+   default n
    help
-     This option reduces the latency of the kernel by making the
-     big kernel lock preemptible.
+     This option reduces the latency of the kernel by making certain
+     RCU sections preemptible. Normally RCU code is non-preemptible, if
+     this option is selected then read-only RCU sections become
+     preemptible. This helps latency, but may expose bugs due to
+     now-naive assumptions about each RCU read-side critical section
+     remaining on a given CPU through its execution.
 
-     Say Y here if you are building a kernel for a desktop system.
      Say N if you are unsure.
 
+config RCU_TRACE
+   bool "Enable tracing for RCU - currently stats in debugfs"
+   depends on PREEMPT_RCU
+   select DEBUG_FS
+   default y
+   help
+     This option provides tracing in RCU which presents stats
+     in debugfs for debugging RCU implementation.
+
+     Say Y here if you want to enable RCU tracing
+     Say N if you are unsure.


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.