Kconfig.preempt (f838bad1b3be8ca0c785ee0e0c570dfda74cf377) | Kconfig.preempt (64db4cfff99c04cd5f550357edcc8780f96b54a2) |
---|---|
1 2choice 3 prompt "Preemption Model" 4 default PREEMPT_NONE 5 6config PREEMPT_NONE 7 bool "No Forced Preemption (Server)" 8 help --- 38 unchanged lines hidden (view full) --- 47 and a slight runtime overhead to kernel code. 48 49 Select this if you are building a kernel for a desktop or 50 embedded system with latency requirements in the milliseconds 51 range. 52 53endchoice 54 | 1 2choice 3 prompt "Preemption Model" 4 default PREEMPT_NONE 5 6config PREEMPT_NONE 7 bool "No Forced Preemption (Server)" 8 help --- 38 unchanged lines hidden (view full) --- 47 and a slight runtime overhead to kernel code. 48 49 Select this if you are building a kernel for a desktop or 50 embedded system with latency requirements in the milliseconds 51 range. 52 53endchoice 54 |
55choice 56 prompt "RCU Implementation" 57 default CLASSIC_RCU 58 59config CLASSIC_RCU 60 bool "Classic RCU" 61 help 62 This option selects the classic RCU implementation that is 63 designed for best read-side performance on non-realtime 64 systems. 65 66 Select this option if you are unsure. 67 68config TREE_RCU 69 bool "Tree-based hierarchical RCU" 70 help 71 This option selects the RCU implementation that is 72 designed for very large SMP system with hundreds or 73 thousands of CPUs. 74 |
|
55config PREEMPT_RCU 56 bool "Preemptible RCU" 57 depends on PREEMPT | 75config PREEMPT_RCU 76 bool "Preemptible RCU" 77 depends on PREEMPT |
58 default n | |
59 help 60 This option reduces the latency of the kernel by making certain 61 RCU sections preemptible. Normally RCU code is non-preemptible, if 62 this option is selected then read-only RCU sections become 63 preemptible. This helps latency, but may expose bugs due to 64 now-naive assumptions about each RCU read-side critical section 65 remaining on a given CPU through its execution. 66 | 78 help 79 This option reduces the latency of the kernel by making certain 80 RCU sections preemptible. Normally RCU code is non-preemptible, if 81 this option is selected then read-only RCU sections become 82 preemptible. This helps latency, but may expose bugs due to 83 now-naive assumptions about each RCU read-side critical section 84 remaining on a given CPU through its execution. 85 |
67 Say N if you are unsure. | 86endchoice |
68 69config RCU_TRACE | 87 88config RCU_TRACE |
70 bool "Enable tracing for RCU - currently stats in debugfs" 71 depends on PREEMPT_RCU 72 select DEBUG_FS 73 default y | 89 bool "Enable tracing for RCU" 90 depends on TREE_RCU || PREEMPT_RCU |
74 help 75 This option provides tracing in RCU which presents stats 76 in debugfs for debugging RCU implementation. 77 78 Say Y here if you want to enable RCU tracing 79 Say N if you are unsure. | 91 help 92 This option provides tracing in RCU which presents stats 93 in debugfs for debugging RCU implementation. 94 95 Say Y here if you want to enable RCU tracing 96 Say N if you are unsure. |
97 98config RCU_FANOUT 99 int "Tree-based hierarchical RCU fanout value" 100 range 2 64 if 64BIT 101 range 2 32 if !64BIT 102 depends on TREE_RCU 103 default 64 if 64BIT 104 default 32 if !64BIT 105 help 106 This option controls the fanout of hierarchical implementations 107 of RCU, allowing RCU to work efficiently on machines with 108 large numbers of CPUs. This value must be at least the cube 109 root of NR_CPUS, which allows NR_CPUS up to 32,768 for 32-bit 110 systems and up to 262,144 for 64-bit systems. 111 112 Select a specific number if testing RCU itself. 113 Take the default if unsure. 114 115config RCU_FANOUT_EXACT 116 bool "Disable tree-based hierarchical RCU auto-balancing" 117 depends on TREE_RCU 118 default n 119 help 120 This option forces use of the exact RCU_FANOUT value specified, 121 regardless of imbalances in the hierarchy. This is useful for 122 testing RCU itself, and might one day be useful on systems with 123 strong NUMA behavior. 124 125 Without RCU_FANOUT_EXACT, the code will balance the hierarchy. 126 127 Say n if unsure. 128 129 |
|