summaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs/cgroup.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-03-08 08:51:01 -0800
committerAndrii Nakryiko <andrii@kernel.org>2021-03-08 08:52:45 -0800
commitbbb41728e61a602ec76cbfec2a49ccc763d305b7 (patch)
treeaf863fd112a199148f11c746556393b48d9029d7 /tools/lib/api/fs/cgroup.c
parent299194a91451263020c73dd2a3b7e0218c88dbd0 (diff)
parent291471dd1559528a4c2ad5026eff94ed1030562b (diff)
downloadlinux-bbb41728e61a602ec76cbfec2a49ccc763d305b7.tar.bz2
Merge branch 'load-acquire/store-release barriers for'
Björn Töpel says: ==================== This two-patch series introduces load-acquire/store-release barriers for the AF_XDP rings. For most contemporary architectures, this is more effective than a SPSC ring based on smp_{r,w,}mb() barriers. More importantly, load-acquire/store-release semantics make the ring code easier to follow. This is effectively the change done in commit 6c43c091bdc5 ("documentation: Update circular buffer for load-acquire/store-release"), but for the AF_XDP rings. Both libbpf and the kernel-side are updated. Full details are outlined in the commits! Thanks to the LKMM-folks (Paul/Alan/Will) for helping me out in this complicated matter! Changelog v1[1]->v2: * Expanded the commit message for patch 1, and included the LKMM litmus tests. Hopefully this clear things up. (Daniel) * Clarified why the smp_mb()/smp_load_acquire() is not needed in (A); control dependency with load to store. (Toke) [1] https://lore.kernel.org/bpf/20210301104318.263262-1-bjorn.topel@gmail.com/ Thanks, Björn ==================== Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/lib/api/fs/cgroup.c')
0 files changed, 0 insertions, 0 deletions