aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-01-27 13:47:42 -0800
committerPaul E. McKenney <paulmck@kernel.org>2022-04-11 15:52:30 -0700
commitee5e2448bceb9400aa27207f0c0220f9dedd85eb (patch)
treece40ef89270381a2febdd77a0bb8f928db3e0478 /lib/test_bitmap.c
parentsrcu: Prevent cleanup_srcu_struct() from freeing non-dynamic ->sda (diff)
downloadlinux-dev-ee5e2448bceb9400aa27207f0c0220f9dedd85eb.tar.xz
linux-dev-ee5e2448bceb9400aa27207f0c0220f9dedd85eb.zip
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! Co-developed-by: Neeraj Upadhyay <quic_neeraju@quicinc.com> Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions