Skip to contentSkip to conversation

slab fixes for 7.2-rc4

GIT PULL Merged Vlastimil Babka (SUSE) 2 participants 2 messages Jul 24 Memory management

lore
Share & tools
lore
#0 lore raw

Hi Linus,

please pull the latest slab fixes from:

git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-7.2-rc4

Thanks,
Vlastimil

======================================

- Prevent unbounded recursion in free path with memory allocation profiling, which has caused a stack overflow on a Meta production host due to a 125-deep __free_slab<->kfree recursion. (Harry Yoo)

- Fix type-based partitioning confusing sparse which does not know __builtin_infer_alloc_token() (Marco Elver)

- Fix a potential memory leak in bulk freeing path on NUMA machines. (Shengming Hu)

----------------------------------------------------------------
The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482:

Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-7.2-rc4

for you to fetch changes up to 5ff172f6c94d282d83cb88bdfec5f647ad9c6105:

slab: silence sparse warning with type-based partitioning (2026-07-21 11:28:21 +0200)

----------------------------------------------------------------
slab fixes for 7.2-rc4

----------------------------------------------------------------
Harry Yoo (Oracle) (4):
mm/slab: fix a memory leak due to bootstrapping sheaves twice mm/slab: decouple SLAB_NO_SHEAVES from SLAB_NO_OBJ_EXT lib/alloc_tag: introduce mem_alloc_profiling_permanently_disabled() mm/slab: prevent unbounded recursion in free path with new kmalloc type

Marco Elver (1):
slab: silence sparse warning with type-based partitioning

Shengming Hu (1):
mm/slub: fix lost local objects when bulk remote free batch fills

 include/linux/alloc_tag.h |   3 ++
 include/linux/slab.h      |  25 ++++++++--
 lib/alloc_tag.c           |   9 ++++
 mm/slab.h                 |  32 ++++++++++--
 mm/slab_common.c          |  19 +++++++-
 mm/slub.c                 | 121 +++++++++++++++++++---------------------------
 6 files changed, 131 insertions(+), 78 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 24 Jul 2026 14:32:13 +0200:

The pull request you sent on Fri, 24 Jul 2026 14:32:13 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-7.2-rc4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/86ba24c41adcf1d6e63827a828a9b5120a86917d

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html