aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/COPYING
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-06-08 21:16:14 +0200
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-06-08 21:41:21 +0200
commitd142a02a5f5ceafb5a5fc637e13ac1de8eef1ddf (patch)
treef577757e2321c2d323d089947b1943016a58faab /COPYING
parentmessages: Ensure that there are more queue slots than CPUs (diff)
downloadwireguard-monolithic-historical-d142a02a5f5ceafb5a5fc637e13ac1de8eef1ddf.tar.xz
wireguard-monolithic-historical-d142a02a5f5ceafb5a5fc637e13ac1de8eef1ddf.zip
mpmc_ptr_ring: Switch to smp_[rw]mb()
From https://www.kernel.org/doc/Documentation/memory-barriers.txt: > SMP memory barriers are reduced to compiler barriers on uniprocessor > compiled systems because it is assumed that a CPU will appear to be > self-consistent, and will order overlapping accesses correctly with > respect to itself. Since we only order CPU memory accesses with the memory barriers in mpmc_ptr_ring.h, smp_[rw]mb() should be sufficient. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions