Re: [GIT PULL] slab updates for 7.4

From: Vlastimil Babka (SUSE)

Date: Thu Oct 22 2026 - 09:42:04 EST


On 10/22/26 15:10, Harry Yoo wrote:
> Hi Linus,
>
> please pull the latest slab updates from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/mm/slab.git tags/slab-for-7.4
>
> There are no known conflicts with other trees.

Thanks, Harry!

I felt I should endorse this as it's the first time Harry sends the PR as
the co-maintainer and not myself.
I looked into cross-signing the tag but seems like git doesn't support that.

Vlastimil

> Thanks,
> Harry
>
> ======================================
>
> - Performance improvement of the sheaf prefill API, by allowing the
> barn to hold a partial sheaf and refilling sheaves from the barn.
> This improves will-it-scale mmap1 throughput by 24% on the
> maple_node cache. (Hao Li)
>
> - Restore memcg accounting of ipc msg_msg allocations, lost with
> e.g. CONFIG_SLAB_BUCKETS=n where the allocations fall back to the
> general kmalloc caches. (Kees Cook)
>
> - Fix an old race between kmem_cache_destroy() and slab_late_init(),
> where a cache destroyed late in the boot process tries to release a
> kobject that was never initialized. (Imre Kaloz)
>
> - Remove slab_folio(), the last use of struct folio in slab code.
> (Matthew Wilcox)
>
> - Reject kmalloc() requests above KMALLOC_MAX_SIZE explicitly with a
> warning and NULL return instead of relying on the page allocator's
> order check. (Zi Yan)
>
> - Various minor fixes and cleanups. (Hao Li, Karl Mehltretter,
> Kees Cook, Longlong Xia)
>
> ----------------------------------------------------------------
> The following changes since commit cee9395acd8043be0644b25c34bfa86623f2b935:
>
> Linux 7.3-rc1 (2026-08-30 13:34:40 -0700)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/mm/slab.git tags/slab-for-7.4
>
> for you to fetch changes up to d15d7703166daf7bd62c844a3cb1b3a6279adb4c:
>
> mm/slub: initialize the free pointer of the bootstrap kmem_cache_node (2026-10-19 11:57:03 +0100)
>
> ----------------------------------------------------------------
> slab changes for 7.4
>
> ----------------------------------------------------------------
> Hao Li (3):
> mm/slub: unify slub stat definitions to simplify metric additions
> mm/slub: make the case handling in __slab_free() easier to follow
> mm/slub: refill prefilled sheaves from the barn
>
> Imre Kaloz (1):
> mm/slab: sample slab_state once in kmem_cache_destroy()
>
> Karl Mehltretter (1):
> mm/slub: initialize the free pointer of the bootstrap kmem_cache_node
>
> Kees Cook (2):
> mm/slab: Mark the kmem_buckets_create() context as a Context: section
> ipc, msg: Account msg_msg allocations with GFP_KERNEL_ACCOUNT again
>
> Longlong Xia (1):
> mm/slab_common: reject zero object_size before calculate_alignment
>
> Matthew Wilcox (Oracle) (1):
> slab: Remove slab_folio()
>
> Zi Yan (1):
> mm/slab: reject unsupported kmalloc() sizes
>
> ipc/msgutil.c | 3 +-
> mm/slab.h | 28 ++---
> mm/slab_common.c | 23 ++--
> mm/slub.c | 329 ++++++++++++++++++++++++++++++++++---------------------
> 4 files changed, 228 insertions(+), 155 deletions(-)
>

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature