diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-08-05 17:25:23 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-08-24 18:40:24 -0700 |
commit | aecd34b9765de3b58c98a1d75b982fc64becd1e9 (patch) | |
tree | e24b28222c483c0fdcb19a4ef2d6e4cc291b5d9a /kernel/trace/trace_output.c | |
parent | dc1269186bed3afc5a2018527516be84fe55d3e0 (diff) |
rcu: Restrict default jiffies_till_first_fqs for strict RCU GPs
If there are idle CPUs, RCU's grace-period kthread will wait several
jiffies before even thinking about polling them. This promotes
efficiency, which is normally a good thing, but when the kernel
has been built with CONFIG_RCU_STRICT_GRACE_PERIOD=y, we care more
about short grace periods. This commit therefore restricts the
default jiffies_till_first_fqs value to zero in kernels built with
CONFIG_RCU_STRICT_GRACE_PERIOD=y, which causes RCU's grace-period kthread
to poll for idle CPUs immediately after starting a grace period.
Reported-by Jann Horn <jannh@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/trace/trace_output.c')
0 files changed, 0 insertions, 0 deletions