Thread (18 messages) flat view 18 messages, 6 authors, 2021-03-03

Re: [PATCH bpf-next 2/2] libbpf, xsk: add libbpf_smp_store_release libbpf_smp_load_acquire

From: Toke Høiland-Jørgensen <hidden>
Date: 2021-03-01 16:14:22
Also in: bpf

Björn Töpel [off-list ref] writes:
From: Björn Töpel <redacted>

Now that the AF_XDP rings have load-acquire/store-release semantics,
move libbpf to that as well.

The library-internal libbpf_smp_{load_acquire,store_release} are only
valid for 32-bit words on ARM64.

Also, remove the barriers that are no longer in use.
So what happens if an updated libbpf is paired with an older kernel (or
vice versa)?

-Toke
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help