rcu/tree: Add comment to describe GP-done condition in fqs loop
authorNeeraj Upadhyay <quic_neeraju@quicinc.com>
Thu, 9 Jun 2022 07:13:40 +0000 (12:43 +0530)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 19 Jul 2022 18:40:00 +0000 (11:40 -0700)
commita03ae49c4785c1bc7b940e38bbdf2e63d79d1470
tree707f5236b259cbc0cbfd169f77b015a712e16b36
parent9bdb5b3a8d8ad1c92db309219859fe1c87c95351
rcu/tree: Add comment to describe GP-done condition in fqs loop

Add a comment to explain why !rcu_preempt_blocked_readers_cgp() condition
is required on root rnp node, for GP completion check in rcu_gp_fqs_loop().

Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c