diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-08-06 19:21:48 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-08-24 18:40:26 -0700 |
commit | 933ada2c3310aa88807e65c8d498b74a2159a9a2 (patch) | |
tree | 3a1a7aaf22c5fee7531a343df5cc037aa5c2ed3c /kernel/rcu/tree_plugin.h | |
parent | 1a2f5d57a33f7b9189b6b3e997eb858301482d79 (diff) |
rcu: IPI all CPUs at GP start for strict GPs
Currently, each CPU discovers the beginning of a given grace period
on its own time, which is again good for efficiency but bad for fast
grace periods. This commit therefore uses on_each_cpu() to IPI each
CPU after grace-period initialization in order to inform each CPU of
the new grace period in a timely manner, but only in kernels build 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 'kernel/rcu/tree_plugin.h')
0 files changed, 0 insertions, 0 deletions