aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-08-31 13:52:09 +0000
committerDavid S. Miller <davem@davemloft.net>2023-09-01 07:27:33 +0100
commit5e6300e7b3a4ab5b72a82079753868e91fbf9efc (patch)
treec0376ce7b3667e6187785217db48aec2fd17d29a /tools/perf/scripts/python/export-to-postgresql.py
parentnet: use sk_forward_alloc_get() in sk_get_meminfo() (diff)
downloadwireguard-linux-5e6300e7b3a4ab5b72a82079753868e91fbf9efc.tar.xz
wireguard-linux-5e6300e7b3a4ab5b72a82079753868e91fbf9efc.zip
net: annotate data-races around sk->sk_forward_alloc
Every time sk->sk_forward_alloc is read locklessly, add a READ_ONCE(). Add sk_forward_alloc_add() helper to centralize updates, to reduce number of WRITE_ONCE(). Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions