diff options
| author | David S. Miller <davem@davemloft.net> | 2023-06-07 10:09:05 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-06-07 10:09:05 +0100 |
| commit | e3144ff52f7d2c884eef352cec9b9ff9acd2eb2f (patch) | |
| tree | a5898632fd2ce3dd1f7dfca691a0a1f6dfdf1231 /drivers/net | |
| parent | Merge tag 'for-net-2023-06-05' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
| parent | rfs: annotate lockless accesses to RFS sock flow table (diff) | |
| download | linux-e3144ff52f7d2c884eef352cec9b9ff9acd2eb2f.tar.gz linux-e3144ff52f7d2c884eef352cec9b9ff9acd2eb2f.zip | |
Merge branch 'rfs-lockless-annotate'
Eric Dumazet says:
====================
rfs: annotate lockless accesses
rfs runs without locks held, so we should annotate
read and writes to shared variables.
It should prevent compilers forcing writes
in the following situation:
if (var != val)
var = val;
A compiler could indeed simply avoid the conditional:
var = val;
This matters if var is shared between many cpus.
v2: aligns one closing bracket (Simon)
adds Fixes: tags (Jakub)
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions
