Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests/bpf: Fix verifier_arena_large/big_alloc3 test

The big_alloc3() test tries to allocate 2051 pages at once in
non-sleepable context and this can fail sporadically on resource
contrained systems, so skip this test in case of such failures.

Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Link: https://lore.kernel.org/r/20251230195134.599463-1-puranjay@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Puranjay Mohan and committed by
Alexei Starovoitov
317a5df7 60060585

+1 -1
+1 -1
tools/testing/selftests/bpf/progs/verifier_arena_large.c
··· 300 300 */ 301 301 pages = bpf_arena_alloc_pages(&arena, NULL, 2051, NUMA_NO_NODE, 0); 302 302 if (!pages) 303 - return -1; 303 + return 0; 304 304 305 305 bpf_for(i, 0, 2051) 306 306 pages[i * PAGE_SIZE] = 123;