]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/bpf: align build_id test mapping to 64K page size
authorGregory Bell <grbell@redhat.com>
Tue, 17 Feb 2026 14:32:37 +0000 (09:32 -0500)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 19 Feb 2026 19:29:41 +0000 (11:29 -0800)
commit18a1d365e825cf936074d53d0a91c58a995a60b0
treec0ed8daa5ecda9acde874b814faefdf15c2ccb15
parentd820fa3114825c43a6a2f3d66d3d1029db811fe3
selftests/bpf: align build_id test mapping to 64K page size

Some architectures require mappings to be aligned to the system page size.
The build_id selftest currently uses a smaller alignment, which can result
in madvise operations executing on a different page than intended.

Increase the mapping alignment to 64K so the buffer is page-aligned on
all supported architectures.

Signed-off-by: Gregory Bell <grbell@redhat.com>
Link: https://lore.kernel.org/r/93543253b32d1cb178ab6e31e4291e387ba1c372.1771338492.git.grbell@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/uprobe_multi.ld