Re: [PATCH RFC bpf-next v2 14/18] selftests/bpf: Resizable hashtab BPF_F_LOCK tests

Alexei Starovoitov
2026-04-12T23:18:48Z

On Wed, Apr 8, 2026 at 8:11 AM Mykyta Yatsenko
<mykyta.yatsenko5@gmail.com> wrote:
>
> From: Mykyta Yatsenko <yatsenko@meta.com>
>
> Add tests validating resizable hash map handles BPF_F_LOCK flag as
> expected.
>
> Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
> ---
> tools/testing/selftests/bpf/prog_tests/rhash.c | 99 ++++++++++++++++++++++++++
> tools/testing/selftests/bpf/progs/rhash.c | 35 +++++++++
> 2 files changed, 134 insertions(+)

drop this patch completely. Yes, we know spinlock works.