Skip to content

mm: vmalloc: Actually use the in-place vrealloc region

Kees Cook bpf linux-hardening linux-mm lkml 1 version Applied

Status from this message: [merged mm-hotfixes-stable] mm-vmalloc-only-zero-init-on-vrealloc-shrink.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm: vmalloc: Actually use the in-place vrealloc regionmm/vmalloc.c+1 -00 repliesApplied
2/2mm: vmalloc: Only zero-init on vrealloc shrinkmm/vmalloc.c+7 -50 repliesApplied

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEduard ZingermanPawan GuptaShung-Hsi YuUladzislau Rezki (Sony)Danilo Krummrich
SeriesT-b R-b R-b
1/2T-b T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

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

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(-)
Signature · 1 line
2.34.1