Re: [PATCH 0/2] mm: vmalloc: Actually use the in-place vrealloc region

From: Uladzislau Rezki
Date: Fri May 16 2025 - 02:33:04 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
>
> mm/vmalloc.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
Looks good to me both.

Reviewed-by: "Uladzislau Rezki (Sony)" <urezki@xxxxxxxxx>

--
Uladzislau Rezki