diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2012-07-11 14:26:40 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2012-09-26 09:47:16 -0400 |
commit | 1fd2b4425a5702c112b441e20b250ac8833a9608 (patch) | |
tree | 502bd504d85db494a6876a37d1a847e9fb6477d8 /init/Kconfig | |
parent | edf55fda35c7dc7f2d9241c3abaddaf759b457c6 (diff) |
rcu: Userspace RCU extended QS selftest
Provide a config option that enables the userspace
RCU extended quiescent state on every CPUs by default.
This is for testing purpose.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Alessio Igor Bogani <abogani@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Avi Kivity <avi@redhat.com>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Geoff Levand <geoff@infradead.org>
Cc: Gilad Ben Yossef <gilad@benyossef.com>
Cc: Hakan Akkan <hakanakkan@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Max Krasnyansky <maxk@qualcomm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Sven-Thorsten Dietrich <thebigcorporation@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index f6a1830165ce..c26b8a1d2b57 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -451,6 +451,14 @@ config RCU_USER_QS | |||
451 | excluded from the global RCU state machine and thus doesn't | 451 | excluded from the global RCU state machine and thus doesn't |
452 | to keep the timer tick on for RCU. | 452 | to keep the timer tick on for RCU. |
453 | 453 | ||
454 | config RCU_USER_QS_FORCE | ||
455 | bool "Force userspace extended QS by default" | ||
456 | depends on RCU_USER_QS | ||
457 | help | ||
458 | Set the hooks in user/kernel boundaries by default in order to | ||
459 | test this feature that treats userspace as an extended quiescent | ||
460 | state until we have a real user like a full adaptive nohz option. | ||
461 | |||
454 | config RCU_FANOUT | 462 | config RCU_FANOUT |
455 | int "Tree-based hierarchical RCU fanout value" | 463 | int "Tree-based hierarchical RCU fanout value" |
456 | range 2 64 if 64BIT | 464 | range 2 64 if 64BIT |