On Wed, Aug 27, 2025 at 12:50 AM Alexei Starovoitov <alexei.starovoi...@gmail.com> wrote: > > On Tue, Aug 26, 2025 at 6:12 AM Matt Fleming <m...@readmodwrite.com> 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.
Thanks. I'll submit a v5 with a fix shortly.