diff options
author | 2022-01-27 13:47:42 -0800 | |
---|---|---|
committer | 2022-04-11 15:52:30 -0700 | |
commit | ee5e2448bceb9400aa27207f0c0220f9dedd85eb (patch) | |
tree | ce40ef89270381a2febdd77a0bb8f928db3e0478 /include/linux/cc_platform.h | |
parent | srcu: Prevent cleanup_srcu_struct() from freeing non-dynamic ->sda (diff) | |
download | wireguard-linux-ee5e2448bceb9400aa27207f0c0220f9dedd85eb.tar.xz wireguard-linux-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 'include/linux/cc_platform.h')
0 files changed, 0 insertions, 0 deletions