summaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-10-09 12:55:53 -0700
committerJakub Kicinski <jakub.kicinski@netronome.com>2019-10-09 21:30:22 -0700
commit503978aca46124cd714703e180b9c8292ba50ba7 (patch)
treef50bafcd6d959fb284425e2ac830b8f73c5dbbb7 /.get_maintainer.ignore
parent4ffdd22e49f47db543906d75453a0048a53071ab (diff)
downloadblackbird-op-linux-503978aca46124cd714703e180b9c8292ba50ba7.tar.gz
blackbird-op-linux-503978aca46124cd714703e180b9c8292ba50ba7.zip
net: avoid possible false sharing in sk_leave_memory_pressure()
As mentioned in https://github.com/google/ktsan/wiki/READ_ONCE-and-WRITE_ONCE#it-may-improve-performance a C compiler can legally transform : if (memory_pressure && *memory_pressure) *memory_pressure = 0; to : if (memory_pressure) *memory_pressure = 0; Fixes: 0604475119de ("tcp: add TCPMemoryPressuresChrono counter") Fixes: 180d8cd942ce ("foundations of per-cgroup memory pressure controlling.") Fixes: 3ab224be6d69 ("[NET] CORE: Introducing new memory accounting interface.") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud