[PATCH 0/3] mm/slab: update the sheaf documentation in kmem_cache_args
From: Andreas Hindborg
Date: Wed Nov 25 2026 - 14:35:57 EST
This series is a few documentation updates pertaining to how and when
sheaves are enabled. I discovered the inconsistency handled by patch 1
while discussing the Rust abstractions for sheaves [1]. While working on
patch 1 , my robot assistant found the other two inconsistencies updated by
this series:
- Patch 1 documents sheaf_capacity as a minimum capacity, where zero
selects the calculated capacity, and lists the cases where no sheaves are
created.
- Patch 2 drops the statement that refilling a sheaf requires gfp flags
that allow blocking.
- Patch 3 corrects the description of allocations that request a specific
NUMA node.
The statement fixed by patch 3 has been stale since v6.18, the ones fixed
by patches 1 and 2 since v7.0.
The series only changes documentation.
[1] https://lore.kernel.org/r/8a73da1c-0167-4aa5-a62c-4190327685cd@xxxxxxxxxx
Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
---
Andreas Hindborg (3):
mm/slab: update the documentation of sheaf_capacity
mm/slab: document that sheaf refill does not require blocking
mm/slab: document that local node allocations can use sheaves
include/linux/slab.h | 38 ++++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 14 deletions(-)
---
base-commit: 0b0985aeb9979c5fa5c3b872cecdf97ed4ed2b3e
change-id: 20261117-sheaf-doc-update-b680c43d0ddf
Best regards,
--
Andreas Hindborg <a.hindborg@xxxxxxxxxx>