Re: [PATCH v2] mm/slub: refill prefilled sheaves from the barn

From: Harry Yoo (Meta)

Date: Tue Sep 22 2026 - 09:22:12 EST


On Mon, 21 Sep 2026 17:41:13 +0800, Hao Li wrote:
> Currently, when the prefill API refills a non-full sheaf, it takes the
> objects from partial slabs and never from the full sheaves in the barn,
> so once the barn's full list becomes saturated, it stays saturated.
>
> For objects freed via kfree_rcu(), every RCU sheaf then has to be
> flushed to slabs because the barn's full list has no room.
>
> [...]

Applied to mm/slab.git slab/for-next, thanks!

[1/1] mm/slub: refill prefilled sheaves from the barn
commit: d7b92c1ee684978c5fed7b3496939d13c8a66b6d

--
Cheers,
Harry / Hyeonggon