]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rcu: Make synchronize_rcu() fast path update ->gp_seq counters
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 5 Aug 2022 00:28:01 +0000 (17:28 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 31 Aug 2022 12:09:21 +0000 (05:09 -0700)
commit910e12092eac8a9f19b507ed0fdc1c21d8da9483
treee293b0af4b2b514cca81e296d87a414452b661e5
parent5f11bad6b7228858e06729de6dd4079dfc082648
rcu: Make synchronize_rcu() fast path update ->gp_seq counters

This commit causes the early boot single-CPU synchronize_rcu() fastpath to
update the rcu_state and rcu_node structures' ->gp_seq and ->gp_seq_needed
counters.  This will allow the full-state polled grace-period APIs to
detect all normal grace periods without the need to track the special
combined polling-only counter, which is a step towards removing the
->rgos_polled field from the rcu_gp_oldstate, thereby reducing its size
by one third.

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