diff options
| author | Andrii Nakryiko <[email protected]> | 2024-01-03 18:41:22 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-01-03 19:08:24 +0000 |
| commit | b4560055c8f11c5e2cfffb4de928b3cfd4eae3b4 (patch) | |
| tree | 0cd08e41ae266dee372fd04ba167791dbbf252ac /net/unix/unix_bpf.c | |
| parent | Merge branch 'bpf-simplify-checking-size-of-helper-accesses' (diff) | |
| parent | selftests/bpf: Convert profiler.c to bpf_cmp. (diff) | |
| download | kernel-b4560055c8f11c5e2cfffb4de928b3cfd4eae3b4.tar.gz kernel-b4560055c8f11c5e2cfffb4de928b3cfd4eae3b4.zip | |
Merge branch 'bpf-volatile-compare'
Alexei Starovoitov says:
====================
bpf: volatile compare
From: Alexei Starovoitov <[email protected]>
v2->v3:
Debugged profiler.c regression. It was caused by basic block layout.
Introduce bpf_cmp_likely() and bpf_cmp_unlikely() macros.
Debugged redundant <<=32, >>=32 with u32 variables. Added cast workaround.
v1->v2:
Fixed issues pointed out by Daniel, added more tests, attempted to convert profiler.c,
but barrier_var() wins vs bpf_cmp(). To be investigated.
Patches 1-4 are good to go, but 5 needs more work.
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
