Re: [PATCH bpf-next v3] bpftool: Compute map size of light skeletons at runtime

From: patchwork-bot+netdevbpf

Date: Mon Sep 21 2026 - 18:44:17 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Wed, 16 Sep 2026 00:14:50 +0800 you wrote:
> bpftool rounds memory-mapped data map sizes to the host page size when
> generating a light skeleton. The generated code therefore uses a 64K
> mapping size when bpftool runs on a 64K-page host, even if the skeleton
> runs on a 4K-page target. The target rejects the oversized map mmap(),
> causing failure of loading the light skeleton.
>
> When try to run 64K-page selftests on 4K-page VM, the error message does
> not provide the reason about page size.
>
> [...]

Here is the summary with links:
- [bpf-next,v3] bpftool: Compute map size of light skeletons at runtime
https://git.kernel.org/bpf/bpf-next/c/a885470df10b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html