Re: [PATCH 0/2] mm: vmalloc: Actually use the in-place vrealloc region
From: Shung-Hsi Yu
Date: Fri May 16 2025 - 02:02:52 EST
On Thu, May 15, 2025 at 02:42:14PM -0700, Kees Cook wrote:
> Hi,
>
> This fixes a performance regression[1] with vrealloc(). This needs to
> get into v6.15, which is where the regression originates, and then it'll
> get backport to the -stable releases as well.
>
> Thanks!
>
> -Kees
>
> [1] https://lore.kernel.org/lkml/20250515-bpf-verifier-slowdown-vwo2meju4cgp2su5ckj@6gi6ssxbnfqg/
>
> Kees Cook (2):
> mm: vmalloc: Actually use the in-place vrealloc region
> mm: vmalloc: Only zero-init on vrealloc shrink
Thank you for the prompt fix! I'll remember to include a more thorough
note on reproducing the issue next time.
With the patchset applied, BPF selftests on both 6.15-rc6 and 6.14.7-rc2
passes successfully.
Tested-by: Shung-Hsi Yu <shung-hsi.yu@xxxxxxxx>