OSDN Git Service

rcu: Test synchronous RCU grace periods at the end of rcu_init()
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 20 Dec 2022 01:02:20 +0000 (17:02 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 4 Jan 2023 01:28:34 +0000 (17:28 -0800)
commit748bf47a89d722c7e77f8700705e2189be14e99e
tree5652bd9bbe1fcc5e4763c48c5206d4e1c66c3118
parent3d1adf7ada352b80e037509d26cdca156f75e830
rcu: Test synchronous RCU grace periods at the end of rcu_init()

This commit tests synchronize_rcu() and synchronize_rcu_expedited()
at the end of rcu_init(), in addition to the test already at the
beginning of that function.  These tests are run only in kernels built
with CONFIG_PROVE_RCU=y.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c
kernel/rcu/update.c