Re: [PATCH] bpf: replace kvfree with kfree for kzalloc memory
From: patchwork-bot+netdevbpf
Date: Tue Aug 12 2025 - 19:00:04 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:
On Mon, 11 Aug 2025 20:39:49 +0800 you wrote:
> The 'backedge' pointer is allocated with kzalloc(), which returns
> physically contiguous memory. Using kvfree() to deallocate such
> memory is functionally safe but semantically incorrect.
>
> Replace kvfree() with kfree() to avoid unnecessary is_vmalloc_addr()
> check in kvfree().
>
> [...]
Here is the summary with links:
- bpf: replace kvfree with kfree for kzalloc memory
https://git.kernel.org/bpf/bpf-next/c/bf0c2a84df9f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html