selftests/bpf: Add a selftest with > 512-byte percpu allocation size
authorYonghong Song <yonghong.song@linux.dev>
Fri, 22 Dec 2023 03:18:12 +0000 (19:18 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 4 Jan 2024 05:08:26 +0000 (21:08 -0800)
commitadc8c4549d9e74d2359c217d2478b18ecdd15c91
tree33e7bd54cb6f7ee386fa8abca5ab0ae9cea74d64
parent21f5a801c171dff4e728e38f62cf626c4197d07c
selftests/bpf: Add a selftest with > 512-byte percpu allocation size

Add a selftest to capture the verification failure when the allocation
size is greater than 512.

Acked-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20231222031812.1293190-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/percpu_alloc_fail.c