[PATCH 0/3] slab: support memoryless nodes with sheaves

Vlastimil Babka (SUSE)
2026-03-11T08:26:22Z

This is the draft patch from [1] turned into a proper series with
incremental changes. It's based on v7.0-rc3. It's too intrusive for a
7.0 hotfix, so we'll only be able to fix/reduce the regression in 7.1. I
hope it's acceptable given it's a non-standard configuration, 7.0 is not
a LTS, and it's a perf regression, not functionality.

Ming can you please retest this on top of v7.0-rc3, which already has
fb1091febd66 ("mm/slab: allow sheaf refill if blocking is not
allowed"). Separate data point for v7.0-rc3 could be also useful.

[1] https://lore.kernel.org/all/c6a01f7e-c6eb-454b-9b9e-734526dd659d@kernel.org/

Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
---
Vlastimil Babka (SUSE) (3):
slab: decouple pointer to barn from kmem_cache_node
slab: create barns for online memoryless nodes
slab: free remote objects to sheaves on memoryless nodes

mm/slab.h | 7 +-
mm/slub.c | 256 +++++++++++++++++++++++++++++++++++++++++++++-----------------
2 files changed, 191 insertions(+), 72 deletions(-)
---
base-commit: 1f318b96cc84d7c2ab792fcc0bfd42a7ca890681
change-id: 20260311-b4-slab-memoryless-barns-fad64172ba05

Best regards,
--
Vlastimil Babka (SUSE) <vbabka@kernel.org>