Thread (10 messages) 10 messages, 2 authors, 2019-08-25

Re: [PATCH bpf-next 1/4] xsk: avoid store-tearing when assigning queues

From: Jonathan Lemon <hidden>
Date: 2019-08-23 16:43:41
Also in: bpf


On 22 Aug 2019, at 2:13, Björn Töpel wrote:
From: Björn Töpel <redacted>

Use WRITE_ONCE when doing the store of tx, rx, fq, and cq, to avoid
potential store-tearing. These members are read outside of the control
mutex in the mmap implementation.

Fixes: 37b076933a8e ("xsk: add missing write- and data-dependency barrier")
Signed-off-by: Björn Töpel <redacted>
Acked-by: Jonathan Lemon <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help