Re: [PATCH v4 00/10] replace CONFIG_SLUB_TINY with a slab_tiny boot parameter

From: Harry Yoo (Meta)

Date: Mon Nov 23 2026 - 09:48:40 EST


On Mon, 16 Nov 2026 07:47:08 +0100, Vlastimil Babka (SUSE) wrote:
> CONFIG_SLUB_TINY was introduced to help tiny systems migrate away from
> the SLOB implementation so it could be removed. Its main purpose has
> been to disable all forms of percpu object caching (cpu slabs back then,
> now sheaves), and being a compile-time config option, some extra minor
> saving were achieved by code elimination or more agressive merging of
> caches with reclaimable and non-reclaimable objects (keeping those
> separate helps reduce high-order page fragmentation but not memory
> footprint).
>
> [...]

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

[01/10] slab, kunit: pin test slabs by an extra allocation
commit: 59cb3f752d7df4badc0ff6caf1b13ba293049b79
[02/10] kasan, kunit: pin test slabs by an extra allocation
commit: b5f4208f057248d96adf876e50e03a7c92cb82ea
[03/10] mm, slab: refactor slab_min/max_order handling
commit: bea9fb71610535595f7d39715ca47248c785110a
[04/10] mm, slab: introduce slab_debug=N
commit: c6fe42e8966e517773fcb41efd02c7cb2eab9697
[05/10] mm, slab: rework KMALLOC_RECLAIM handling of SLUB_TINY
commit: 5e3df3c9656df19053909c4aa70792007c5ddc59
[06/10] mm, slab: make SLUB_TINY handling dynamic for sizing decisions
commit: 0582f36165726165012f66be8924e2123d679795
[07/10] mm, slab: convert CONFIG_SLUB_TINY checks to kmem_cache_debug()
commit: 7d6e6d4e50b91ede6662ea177e25b38b3bfbffb9
[08/10] mm, slab: remove remaining compile-time checks for CONFIG_SLUB_TINY
commit: 0ecb9fa1456b356e604848542787aeb6b87b6505
[09/10] mm, slab: add slab_tiny boot param
commit: 9d83e029638706e283df6079ff4db017e8881769
[10/10] mm, slab: deprecate CONFIG_SLUB_TINY and reduce its Kconfig effects
commit: 3464ad6cacfa65099378798cc0d95c9e5151e86d

--
Cheers,
Harry / Hyeonggon