summaryrefslogtreecommitdiff
path: root/lib/plist.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-10-10 01:10:15 +0300
committerJakub Kicinski <jakub.kicinski@netronome.com>2019-10-10 07:35:00 +0300
commit1f142c17d19a5618d5a633195a46f2c8be9bf232 (patch)
treeb64b0a41ac143b7a2eefa20d06eab67a5c4f16da /lib/plist.c
parent60b173ca3d1cd1782bd0096dc17298ec242f6fb1 (diff)
downloadlinux-1f142c17d19a5618d5a633195a46f2c8be9bf232.tar.xz
tcp: annotate lockless access to tcp_memory_pressure
tcp_memory_pressure is read without holding any lock, and its value could be changed on other cpus. Use READ_ONCE() to annotate these lockless reads. The write side is already using atomic ops. Fixes: b8da51ebb1aa ("tcp: introduce tcp_under_memory_pressure()") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'lib/plist.c')
0 files changed, 0 insertions, 0 deletions