diff options
| author | Pranith Kumar <bobby.prani@gmail.com> | 2014-09-22 14:00:48 -0400 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-10-29 13:20:05 -0400 |
| commit | 28f6569ab7d036cd4ee94c26bb76dc1b3f3fc056 (patch) | |
| tree | dd09624ed00e1f67fdd87bf670da19761ed78ea6 /init/Kconfig | |
| parent | 21871d7eff2c96ae67e18e00adf59d56940e2fcc (diff) | |
rcu: Remove redundant TREE_PREEMPT_RCU config option
PREEMPT_RCU and TREE_PREEMPT_RCU serve the same function after
TINY_PREEMPT_RCU has been removed. This patch removes TREE_PREEMPT_RCU
and uses PREEMPT_RCU config option in its place.
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'init/Kconfig')
| -rw-r--r-- | init/Kconfig | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/init/Kconfig b/init/Kconfig index 15c299cc7c1e..5ac596e2cb4b 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
| @@ -477,7 +477,7 @@ config TREE_RCU | |||
| 477 | thousands of CPUs. It also scales down nicely to | 477 | thousands of CPUs. It also scales down nicely to |
| 478 | smaller systems. | 478 | smaller systems. |
| 479 | 479 | ||
| 480 | config TREE_PREEMPT_RCU | 480 | config PREEMPT_RCU |
| 481 | bool "Preemptible tree-based hierarchical RCU" | 481 | bool "Preemptible tree-based hierarchical RCU" |
| 482 | depends on PREEMPT | 482 | depends on PREEMPT |
| 483 | select IRQ_WORK | 483 | select IRQ_WORK |
| @@ -501,12 +501,6 @@ config TINY_RCU | |||
| 501 | 501 | ||
| 502 | endchoice | 502 | endchoice |
| 503 | 503 | ||
| 504 | config PREEMPT_RCU | ||
| 505 | def_bool TREE_PREEMPT_RCU | ||
| 506 | help | ||
| 507 | This option enables preemptible-RCU code that is common between | ||
| 508 | TREE_PREEMPT_RCU and, in the old days, TINY_PREEMPT_RCU. | ||
| 509 | |||
| 510 | config TASKS_RCU | 504 | config TASKS_RCU |
| 511 | bool "Task_based RCU implementation using voluntary context switch" | 505 | bool "Task_based RCU implementation using voluntary context switch" |
| 512 | default n | 506 | default n |
| @@ -518,7 +512,7 @@ config TASKS_RCU | |||
| 518 | If unsure, say N. | 512 | If unsure, say N. |
| 519 | 513 | ||
| 520 | config RCU_STALL_COMMON | 514 | config RCU_STALL_COMMON |
| 521 | def_bool ( TREE_RCU || TREE_PREEMPT_RCU || RCU_TRACE ) | 515 | def_bool ( TREE_RCU || PREEMPT_RCU || RCU_TRACE ) |
| 522 | help | 516 | help |
| 523 | This option enables RCU CPU stall code that is common between | 517 | This option enables RCU CPU stall code that is common between |
| 524 | the TINY and TREE variants of RCU. The purpose is to allow | 518 | the TINY and TREE variants of RCU. The purpose is to allow |
| @@ -576,7 +570,7 @@ config RCU_FANOUT | |||
| 576 | int "Tree-based hierarchical RCU fanout value" | 570 | int "Tree-based hierarchical RCU fanout value" |
| 577 | range 2 64 if 64BIT | 571 | range 2 64 if 64BIT |
| 578 | range 2 32 if !64BIT | 572 | range 2 32 if !64BIT |
| 579 | depends on TREE_RCU || TREE_PREEMPT_RCU | 573 | depends on TREE_RCU || PREEMPT_RCU |
| 580 | default 64 if 64BIT | 574 | default 64 if 64BIT |
| 581 | default 32 if !64BIT | 575 | default 32 if !64BIT |
| 582 | help | 576 | help |
| @@ -596,7 +590,7 @@ config RCU_FANOUT_LEAF | |||
| 596 | int "Tree-based hierarchical RCU leaf-level fanout value" | 590 | int "Tree-based hierarchical RCU leaf-level fanout value" |
| 597 | range 2 RCU_FANOUT if 64BIT | 591 | range 2 RCU_FANOUT if 64BIT |
| 598 | range 2 RCU_FANOUT if !64BIT | 592 | range 2 RCU_FANOUT if !64BIT |
| 599 | depends on TREE_RCU || TREE_PREEMPT_RCU | 593 | depends on TREE_RCU || PREEMPT_RCU |
| 600 | default 16 | 594 | default 16 |
| 601 | help | 595 | help |
| 602 | This option controls the leaf-level fanout of hierarchical | 596 | This option controls the leaf-level fanout of hierarchical |
| @@ -621,7 +615,7 @@ config RCU_FANOUT_LEAF | |||
| 621 | 615 | ||
| 622 | config RCU_FANOUT_EXACT | 616 | config RCU_FANOUT_EXACT |
| 623 | bool "Disable tree-based hierarchical RCU auto-balancing" | 617 | bool "Disable tree-based hierarchical RCU auto-balancing" |
| 624 | depends on TREE_RCU || TREE_PREEMPT_RCU | 618 | depends on TREE_RCU || PREEMPT_RCU |
| 625 | default n | 619 | default n |
| 626 | help | 620 | help |
| 627 | This option forces use of the exact RCU_FANOUT value specified, | 621 | This option forces use of the exact RCU_FANOUT value specified, |
| @@ -652,11 +646,11 @@ config RCU_FAST_NO_HZ | |||
| 652 | Say N if you are unsure. | 646 | Say N if you are unsure. |
| 653 | 647 | ||
| 654 | config TREE_RCU_TRACE | 648 | config TREE_RCU_TRACE |
| 655 | def_bool RCU_TRACE && ( TREE_RCU || TREE_PREEMPT_RCU ) | 649 | def_bool RCU_TRACE && ( TREE_RCU || PREEMPT_RCU ) |
| 656 | select DEBUG_FS | 650 | select DEBUG_FS |
| 657 | help | 651 | help |
| 658 | This option provides tracing for the TREE_RCU and | 652 | This option provides tracing for the TREE_RCU and |
| 659 | TREE_PREEMPT_RCU implementations, permitting Makefile to | 653 | PREEMPT_RCU implementations, permitting Makefile to |
| 660 | trivially select kernel/rcutree_trace.c. | 654 | trivially select kernel/rcutree_trace.c. |
| 661 | 655 | ||
| 662 | config RCU_BOOST | 656 | config RCU_BOOST |
| @@ -716,7 +710,7 @@ config RCU_BOOST_DELAY | |||
| 716 | 710 | ||
| 717 | config RCU_NOCB_CPU | 711 | config RCU_NOCB_CPU |
| 718 | bool "Offload RCU callback processing from boot-selected CPUs" | 712 | bool "Offload RCU callback processing from boot-selected CPUs" |
| 719 | depends on TREE_RCU || TREE_PREEMPT_RCU | 713 | depends on TREE_RCU || PREEMPT_RCU |
| 720 | default n | 714 | default n |
| 721 | help | 715 | help |
| 722 | Use this option to reduce OS jitter for aggressive HPC or | 716 | Use this option to reduce OS jitter for aggressive HPC or |
