diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index f5becd2a12f6..0eda68f0ad54 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -763,3 +763,31 @@ source "block/Kconfig" | |||
763 | 763 | ||
764 | config PREEMPT_NOTIFIERS | 764 | config PREEMPT_NOTIFIERS |
765 | bool | 765 | bool |
766 | |||
767 | choice | ||
768 | prompt "RCU implementation type:" | ||
769 | default CLASSIC_RCU | ||
770 | |||
771 | config CLASSIC_RCU | ||
772 | bool "Classic RCU" | ||
773 | help | ||
774 | This option selects the classic RCU implementation that is | ||
775 | designed for best read-side performance on non-realtime | ||
776 | systems. | ||
777 | |||
778 | Say Y if you are unsure. | ||
779 | |||
780 | config PREEMPT_RCU | ||
781 | bool "Preemptible RCU" | ||
782 | depends on PREEMPT | ||
783 | help | ||
784 | This option reduces the latency of the kernel by making certain | ||
785 | RCU sections preemptible. Normally RCU code is non-preemptible, if | ||
786 | this option is selected then read-only RCU sections become | ||
787 | preemptible. This helps latency, but may expose bugs due to | ||
788 | now-naive assumptions about each RCU read-side critical section | ||
789 | remaining on a given CPU through its execution. | ||
790 | |||
791 | Say N if you are unsure. | ||
792 | |||
793 | endchoice | ||