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>
Tue, 8 Feb 2022 19:10:19 +0000 (11:10 -0800)
commit76c91a72a82e345ddd79a0f2e6bbac7be63a62da
tree9099837e76b31ae053bbee02d610e26eb32a404a
parentc93aba1b15be8baf3c02f1cd0366075f9b333acd
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