diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-04-20 09:17:15 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-05-27 15:59:03 -0400 |
commit | 7db21edfecb079b2257ced7a2cf2e32ae5e5d966 (patch) | |
tree | bd4faba7a9f53c1aff2b4b6faf7a1d0b0a3205f3 /init/Kconfig | |
parent | 82d0f4c089991e6b302d961f0320282bf91652d7 (diff) |
rcu: Directly drive RCU_USER_QS from Kconfig
Currently, Kconfig will ask the user whether RCU_USER_QS should be set.
This is silly because Kconfig already has all the information that it
needs to set this parameter. This commit therefore directly drives
the value of RCU_USER_QS via NO_HZ_FULL's "select" statement.
Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/init/Kconfig b/init/Kconfig index 73db30a76afa..927210810189 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -529,9 +529,7 @@ config CONTEXT_TRACKING | |||
529 | bool | 529 | bool |
530 | 530 | ||
531 | config RCU_USER_QS | 531 | config RCU_USER_QS |
532 | bool "Consider userspace as in RCU extended quiescent state" | 532 | bool |
533 | depends on HAVE_CONTEXT_TRACKING && SMP | ||
534 | select CONTEXT_TRACKING | ||
535 | help | 533 | help |
536 | This option sets hooks on kernel / userspace boundaries and | 534 | This option sets hooks on kernel / userspace boundaries and |
537 | puts RCU in extended quiescent state when the CPU runs in | 535 | puts RCU in extended quiescent state when the CPU runs in |
@@ -539,12 +537,6 @@ config RCU_USER_QS | |||
539 | excluded from the global RCU state machine and thus doesn't | 537 | excluded from the global RCU state machine and thus doesn't |
540 | try to keep the timer tick on for RCU. | 538 | try to keep the timer tick on for RCU. |
541 | 539 | ||
542 | Unless you want to hack and help the development of the full | ||
543 | dynticks mode, you shouldn't enable this option. It also | ||
544 | adds unnecessary overhead. | ||
545 | |||
546 | If unsure say N | ||
547 | |||
548 | config CONTEXT_TRACKING_FORCE | 540 | config CONTEXT_TRACKING_FORCE |
549 | bool "Force context tracking" | 541 | bool "Force context tracking" |
550 | depends on CONTEXT_TRACKING | 542 | depends on CONTEXT_TRACKING |