Skip to content

Commit

Permalink
rcu: Directly drive RCU_USER_QS from Kconfig
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Reviewed-by: Pranith Kumar <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
  • Loading branch information
paulmck committed May 27, 2015
1 parent 82d0f4c commit 7db21ed
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -529,22 +529,14 @@ config CONTEXT_TRACKING
bool

config RCU_USER_QS
bool "Consider userspace as in RCU extended quiescent state"
depends on HAVE_CONTEXT_TRACKING && SMP
select CONTEXT_TRACKING
bool
help
This option sets hooks on kernel / userspace boundaries and
puts RCU in extended quiescent state when the CPU runs in
userspace. It means that when a CPU runs in userspace, it is
excluded from the global RCU state machine and thus doesn't
try to keep the timer tick on for RCU.

Unless you want to hack and help the development of the full
dynticks mode, you shouldn't enable this option. It also
adds unnecessary overhead.

If unsure say N

config CONTEXT_TRACKING_FORCE
bool "Force context tracking"
depends on CONTEXT_TRACKING
Expand Down

0 comments on commit 7db21ed

Please sign in to comment.