X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2FKconfig.preempt;h=9fdba03dc1fcd119c31274fb3590480aa1db9f05;hb=d819c49da624e3ee09b2844603d58265039eecdd;hp=4420ef427f833d03451eab38edce89a267f8bdbc;hpb=58b8a73ab8becfcaea84abc2a06038281efa4c8a;p=linux-2.6 diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt index 4420ef427f..9fdba03dc1 100644 --- a/kernel/Kconfig.preempt +++ b/kernel/Kconfig.preempt @@ -52,12 +52,23 @@ config PREEMPT endchoice -config PREEMPT_BKL - def_bool y - depends on SMP || PREEMPT +config PREEMPT_RCU + bool "Preemptible RCU" + depends on PREEMPT + default n + help + 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 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