]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
slub: clarify kmem_cache_refill_sheaf() comments
authorHao Li <hao.li@linux.dev>
Tue, 7 Apr 2026 11:59:33 +0000 (19:59 +0800)
committerVlastimil Babka (SUSE) <vbabka@kernel.org>
Tue, 7 Apr 2026 12:39:11 +0000 (14:39 +0200)
commit51274836193a661a3f39e7f10629d5978a61bbfb
treeb326f218dc730afd222725ef327c7b79760a3b81
parent7f9bb84fdb5ee7621fcd6519cd14d3dc9aa75c5c
slub: clarify kmem_cache_refill_sheaf() comments

In the in-place refill case, some objects may already have been added
before the function returns -ENOMEM.
Clarify this behavior and polish the rest of the comment for readability.

Acked-by: Harry Yoo (Oracle) <harry@kernel.org>
Signed-off-by: Hao Li <hao.li@linux.dev>
Link: https://patch.msgid.link/20260407120018.42692-1-hao.li@linux.dev
Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
mm/slub.c