Thread (3 messages) read the whole thread 3 messages, 2 authors, 2025-08-27

Re: [PATCH bpf-next v4] selftests/bpf: Add LPM trie microbenchmarks

From: Alexei Starovoitov <hidden>
Date: 2025-08-26 23:50:03
Also in: bpf, linux-kselftest, lkml

On Tue, Aug 26, 2025 at 6:12 AM Matt Fleming [off-list ref] wrote:
+static int baseline(__u32 index, __u32 *unused)
+{
+       struct trie_key key;
+       __s64 blackbox;
+
+       generate_key(&key);
+       /* Avoid compiler optimizing out the modulo */
+       barrier_var(blackbox);
+       blackbox = READ_ONCE(key.data);
Overall looks good, but gcc-bpf found an actual issue.

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