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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 26, 2025 at 6:12 AM Matt Fleming <matt@xxxxxxxxxxxxxxxx> 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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux