Re: [PATCH v3] net: ipa: Proactively round up to kmalloc bucket size
From: patchwork-bot+netdevbpf
Date: Thu Oct 20 2022 - 04:50:24 EST
Hello:
This patch was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Tue, 18 Oct 2022 02:28:27 -0700 you wrote:
> Instead of discovering the kmalloc bucket size _after_ allocation, round
> up proactively so the allocation is explicitly made for the full size,
> allowing the compiler to correctly reason about the resulting size of
> the buffer through the existing __alloc_size() hint.
>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Eric Dumazet <edumazet@xxxxxxxxxx>
> Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
> Cc: Paolo Abeni <pabeni@xxxxxxxxxx>
> Cc: netdev@xxxxxxxxxxxxxxx
> Reviewed-by: Alex Elder <elder@xxxxxxxxxx>
> Link: https://lore.kernel.org/lkml/4d75a9fd-1b94-7208-9de8-5a0102223e68@xxxxxxxx
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- [v3] net: ipa: Proactively round up to kmalloc bucket size
https://git.kernel.org/netdev/net-next/c/36875a063b5e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html