Re: [PATCH 06/12] mm, slub: don't create kmalloc-rcl caches with CONFIG_SLUB_TINY

From: Vlastimil Babka
Date: Wed Nov 23 2022 - 08:59:40 EST


On 11/21/22 18:11, Vlastimil Babka wrote:
> Distinguishing kmalloc(__GFP_RECLAIMABLE) can help against fragmentation
> by grouping pages by mobility, but on tiny systems the extra memory
> overhead of separate set of kmalloc-rcl caches will probably be worse,
> and mobility grouping likely disabled anyway.
>
> Thus with CONFIG_SLUB_TINY, don't create kmalloc-rcl caches and use the
> regular ones.
>
> Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx>

Fixed up in response to lkp report for a MEMCG_KMEM+SLUB_TINY combo:
---8<---