srcu: Explain srcu_funnel_gp_start() call to list_add() is safe
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 27 Jan 2022 21:47:42 +0000 (13:47 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 24 Feb 2022 17:50:10 +0000 (09:50 -0800)
commit80f1cccfee49c9530fa60b9f147a2a3fe3a925d1
tree0b3d2741fcad2e2c0239a030e0bfe23a6f62efbc
parent20c3e1d6fde8b6e47aac96bbe514d62b25709385
srcu: Explain srcu_funnel_gp_start() call to list_add() is safe

This commit adds a comment explaining why an unprotected call to
list_add() from srcu_funnel_gp_start() can be safe.  TL;DR: It is only
called during very early boot when we don't have no steeking concurrency!

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