diff options
author | Len Brown <len.brown@intel.com> | 2009-09-19 00:11:26 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-09-19 00:11:26 -0400 |
commit | c602c65b2f81d14456771d1e3f15d1381f4b7efa (patch) | |
tree | f1f833c8dd6c1519eeb101be32f7fe54a9605af5 /init/Kconfig | |
parent | 3834f47291df475be3f0f0fb7ccaa098967cc054 (diff) | |
parent | 78f28b7c555359c67c2a0d23f7436e915329421e (diff) |
Merge branch 'linus' into sfi-release
Conflicts:
arch/x86/kernel/setup.c
drivers/acpi/power.c
init/main.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 46 |
1 files changed, 15 insertions, 31 deletions
diff --git a/init/Kconfig b/init/Kconfig index 3f7e60995c80..8e8b76d8a272 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -316,38 +316,28 @@ choice | |||
316 | prompt "RCU Implementation" | 316 | prompt "RCU Implementation" |
317 | default TREE_RCU | 317 | default TREE_RCU |
318 | 318 | ||
319 | config CLASSIC_RCU | ||
320 | bool "Classic RCU" | ||
321 | help | ||
322 | This option selects the classic RCU implementation that is | ||
323 | designed for best read-side performance on non-realtime | ||
324 | systems. | ||
325 | |||
326 | Select this option if you are unsure. | ||
327 | |||
328 | config TREE_RCU | 319 | config TREE_RCU |
329 | bool "Tree-based hierarchical RCU" | 320 | bool "Tree-based hierarchical RCU" |
330 | help | 321 | help |
331 | This option selects the RCU implementation that is | 322 | This option selects the RCU implementation that is |
332 | designed for very large SMP system with hundreds or | 323 | designed for very large SMP system with hundreds or |
333 | thousands of CPUs. | 324 | thousands of CPUs. It also scales down nicely to |
325 | smaller systems. | ||
334 | 326 | ||
335 | config PREEMPT_RCU | 327 | config TREE_PREEMPT_RCU |
336 | bool "Preemptible RCU" | 328 | bool "Preemptable tree-based hierarchical RCU" |
337 | depends on PREEMPT | 329 | depends on PREEMPT |
338 | help | 330 | help |
339 | This option reduces the latency of the kernel by making certain | 331 | This option selects the RCU implementation that is |
340 | RCU sections preemptible. Normally RCU code is non-preemptible, if | 332 | designed for very large SMP systems with hundreds or |
341 | this option is selected then read-only RCU sections become | 333 | thousands of CPUs, but for which real-time response |
342 | preemptible. This helps latency, but may expose bugs due to | 334 | is also required. |
343 | now-naive assumptions about each RCU read-side critical section | ||
344 | remaining on a given CPU through its execution. | ||
345 | 335 | ||
346 | endchoice | 336 | endchoice |
347 | 337 | ||
348 | config RCU_TRACE | 338 | config RCU_TRACE |
349 | bool "Enable tracing for RCU" | 339 | bool "Enable tracing for RCU" |
350 | depends on TREE_RCU || PREEMPT_RCU | 340 | depends on TREE_RCU || TREE_PREEMPT_RCU |
351 | help | 341 | help |
352 | This option provides tracing in RCU which presents stats | 342 | This option provides tracing in RCU which presents stats |
353 | in debugfs for debugging RCU implementation. | 343 | in debugfs for debugging RCU implementation. |
@@ -359,7 +349,7 @@ config RCU_FANOUT | |||
359 | int "Tree-based hierarchical RCU fanout value" | 349 | int "Tree-based hierarchical RCU fanout value" |
360 | range 2 64 if 64BIT | 350 | range 2 64 if 64BIT |
361 | range 2 32 if !64BIT | 351 | range 2 32 if !64BIT |
362 | depends on TREE_RCU | 352 | depends on TREE_RCU || TREE_PREEMPT_RCU |
363 | default 64 if 64BIT | 353 | default 64 if 64BIT |
364 | default 32 if !64BIT | 354 | default 32 if !64BIT |
365 | help | 355 | help |
@@ -374,7 +364,7 @@ config RCU_FANOUT | |||
374 | 364 | ||
375 | config RCU_FANOUT_EXACT | 365 | config RCU_FANOUT_EXACT |
376 | bool "Disable tree-based hierarchical RCU auto-balancing" | 366 | bool "Disable tree-based hierarchical RCU auto-balancing" |
377 | depends on TREE_RCU | 367 | depends on TREE_RCU || TREE_PREEMPT_RCU |
378 | default n | 368 | default n |
379 | help | 369 | help |
380 | This option forces use of the exact RCU_FANOUT value specified, | 370 | This option forces use of the exact RCU_FANOUT value specified, |
@@ -387,18 +377,12 @@ config RCU_FANOUT_EXACT | |||
387 | Say N if unsure. | 377 | Say N if unsure. |
388 | 378 | ||
389 | config TREE_RCU_TRACE | 379 | config TREE_RCU_TRACE |
390 | def_bool RCU_TRACE && TREE_RCU | 380 | def_bool RCU_TRACE && ( TREE_RCU || TREE_PREEMPT_RCU ) |
391 | select DEBUG_FS | ||
392 | help | ||
393 | This option provides tracing for the TREE_RCU implementation, | ||
394 | permitting Makefile to trivially select kernel/rcutree_trace.c. | ||
395 | |||
396 | config PREEMPT_RCU_TRACE | ||
397 | def_bool RCU_TRACE && PREEMPT_RCU | ||
398 | select DEBUG_FS | 381 | select DEBUG_FS |
399 | help | 382 | help |
400 | This option provides tracing for the PREEMPT_RCU implementation, | 383 | This option provides tracing for the TREE_RCU and |
401 | permitting Makefile to trivially select kernel/rcupreempt_trace.c. | 384 | TREE_PREEMPT_RCU implementations, permitting Makefile to |
385 | trivially select kernel/rcutree_trace.c. | ||
402 | 386 | ||
403 | endmenu # "RCU Subsystem" | 387 | endmenu # "RCU Subsystem" |
404 | 388 | ||