Re: [PATCH v2 0/4] slab AI fixes

From: Harry Yoo (Meta)

Date: Wed Dec 02 2026 - 11:34:18 EST


On Tue, 01 Dec 2026 19:16:01 +0100, Vlastimil Babka (SUSE) wrote:
> A bunch of fixes that are marked for stable but not really urgent, based
> on patches from Chris Mason, dispatched to slab maintainers by David.
>
> This batch is based on (and intended for) slab/for-7.5/misc
>
> Two fixes for sheaf refill with __GFP_NOFAIL allocations and sheaf
> preallocation. Those I've rewritten completely compared to the original
> proposals. May improve slab behavior a bit under low memory conditions.
>
> [...]

Applied to mm/slab.git slab/for-next, thanks!

[1/4] mm/slab: drop __GFP_NOFAIL when refilling sheaves
commit: 7226265425e7662dfdfc6b452fd939a1b7ea037a
[2/4] mm/slab: handle __GFP_NOFAIL better with prefilled sheaves
commit: 73eccf8075ca5391a596d5aa44de9cf80fe83644
[3/4] mm/slab: keep caches that drop debug flags unmergeable
commit: 44afe4bbf49e7634319db6eccdd36245bcddb32b
[4/4] mm/slab: clear stale layout values in calculate_sizes()
commit: 4e0c97438c4379ce2bef5388ee600dc3f88e4e9d

In patch 2 I fixed two typos

Cc: stable@xxxxxxxxxxxxxxx -> Cc: stable@xxxxxxxxxxxxxxx

and

__GFP_NOMEMALOC -> __GFP_NOMEMALLOC

--
Cheers,
Harry / Hyeonggon