diff options
author | 2020-08-06 06:39:30 -0700 | |
---|---|---|
committer | 2020-08-24 18:40:24 -0700 | |
commit | 29fc5f93320cb447f83baedfe103ed784cadb073 (patch) | |
tree | 0558d05d3d24f807e929efc0721e3df08778d266 /drivers/usb/cdns3/cdns3-imx.c | |
parent | rcu: Restrict default jiffies_till_first_fqs for strict RCU GPs (diff) | |
download | linux-dev-29fc5f93320cb447f83baedfe103ed784cadb073.tar.xz linux-dev-29fc5f93320cb447f83baedfe103ed784cadb073.zip |
rcu: Force DEFAULT_RCU_BLIMIT to 1000 for strict RCU GPs
The value of DEFAULT_RCU_BLIMIT is normally set to 10, the idea being to
avoid needless response-time degradation due to RCU callback invocation.
However, when CONFIG_RCU_STRICT_GRACE_PERIOD=y it is better to avoid
throttling callback execution in order to better detect pointer
leaks from RCU read-side critical sections. This commit therefore
sets the value of DEFAULT_RCU_BLIMIT to 1000 in kernels built with
CONFIG_RCU_STRICT_GRACE_PERIOD=y.
Reported-by Jann Horn <jannh@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions