diff options
author | 2023-07-06 10:28:48 +0000 | |
---|---|---|
committer | 2023-08-16 14:27:41 -0700 | |
commit | efd04f8a8b45b8b98704b5860e363bab239b8bae (patch) | |
tree | ccfaab884686930f555c931a7fa48d58e8965f8b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu: Make the rcu_nocb_poll boot parameter usable via boot config (diff) | |
download | wireguard-linux-efd04f8a8b45b8b98704b5860e363bab239b8bae.tar.xz wireguard-linux-efd04f8a8b45b8b98704b5860e363bab239b8bae.zip |
rcu: Use WRITE_ONCE() for assignments to ->next for rculist_nulls
When the objects managed by rculist_nulls are allocated with
SLAB_TYPESAFE_BY_RCU, old readers may still hold references to an object
even though it is just now being added, which means the modification of
->next is visible to readers. This patch therefore uses WRITE_ONCE()
for assignments to ->next.
Signed-off-by: Alan Huang <mmpgouride@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions