srcu: Explain the reason behind the read side critical section on GP start
authorFrederic Weisbecker <frederic@kernel.org>
Thu, 13 Oct 2022 17:22:43 +0000 (19:22 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 21 Oct 2022 17:16:15 +0000 (10:16 -0700)
commitae3c0706160b60ac5e7d36aac428ae6e572dc932
tree18c1a1769c77d5e0ed4b3cfdfca7f67aec65970a
parent6b77bb9b99c66c6596c58e7a25169bc2ea6b82dd
srcu: Explain the reason behind the read side critical section on GP start

Tell about the need to protect against concurrent updaters who may
overflow the GP counter behind the current update.

Reported-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/srcutree.c