diff options
Diffstat (limited to 'init/Kconfig')
| -rw-r--r-- | init/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index af6c7f8ba019..c26b8a1d2b57 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
| @@ -441,6 +441,24 @@ config PREEMPT_RCU | |||
| 441 | This option enables preemptible-RCU code that is common between | 441 | This option enables preemptible-RCU code that is common between |
| 442 | the TREE_PREEMPT_RCU and TINY_PREEMPT_RCU implementations. | 442 | the TREE_PREEMPT_RCU and TINY_PREEMPT_RCU implementations. |
| 443 | 443 | ||
| 444 | config RCU_USER_QS | ||
| 445 | bool "Consider userspace as in RCU extended quiescent state" | ||
| 446 | depends on HAVE_RCU_USER_QS && SMP | ||
| 447 | help | ||
| 448 | This option sets hooks on kernel / userspace boundaries and | ||
| 449 | puts RCU in extended quiescent state when the CPU runs in | ||
| 450 | userspace. It means that when a CPU runs in userspace, it is | ||
| 451 | excluded from the global RCU state machine and thus doesn't | ||
| 452 | to keep the timer tick on for RCU. | ||
| 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 | |||
| 444 | config RCU_FANOUT | 462 | config RCU_FANOUT |
| 445 | int "Tree-based hierarchical RCU fanout value" | 463 | int "Tree-based hierarchical RCU fanout value" |
| 446 | range 2 64 if 64BIT | 464 | range 2 64 if 64BIT |
