diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 929adf6cb6b4..35518243c4bd 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -488,6 +488,21 @@ config RCU_BOOST_DELAY | |||
488 | 488 | ||
489 | Accept the default if unsure. | 489 | Accept the default if unsure. |
490 | 490 | ||
491 | config SRCU_SYNCHRONIZE_DELAY | ||
492 | int "Microseconds to delay before waiting for readers" | ||
493 | range 0 20 | ||
494 | default 10 | ||
495 | help | ||
496 | This option controls how long SRCU delays before entering its | ||
497 | loop waiting on SRCU readers. The purpose of this loop is | ||
498 | to avoid the unconditional context-switch penalty that would | ||
499 | otherwise be incurred if there was an active SRCU reader, | ||
500 | in a manner similar to adaptive locking schemes. This should | ||
501 | be set to be a bit longer than the common-case SRCU read-side | ||
502 | critical-section overhead. | ||
503 | |||
504 | Accept the default if unsure. | ||
505 | |||
491 | endmenu # "RCU Subsystem" | 506 | endmenu # "RCU Subsystem" |
492 | 507 | ||
493 | config IKCONFIG | 508 | config IKCONFIG |