aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2023-08-31 13:52:09 +0000
committerDavid S. Miller <[email protected]>2023-09-01 06:27:33 +0000
commit5e6300e7b3a4ab5b72a82079753868e91fbf9efc (patch)
treec0376ce7b3667e6187785217db48aec2fd17d29a /tools/perf/scripts/python/sctop.py
parentnet: use sk_forward_alloc_get() in sk_get_meminfo() (diff)
downloadkernel-5e6300e7b3a4ab5b72a82079753868e91fbf9efc.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions