Re: [PATCH v2 12/14] mm: move kmem_cache_init() declaration to mm/slab.h

From: Vlastimil Babka
Date: Wed Mar 22 2023 - 12:33:20 EST


On 3/21/23 18:05, Mike Rapoport wrote:
> From: "Mike Rapoport (IBM)" <rppt@xxxxxxxxxx>
>
> kmem_cache_init() is called only from mm_core_init(), there is no need
> to declare it in include/linux/slab.h
>
> Move kmem_cache_init() declaration to mm/slab.h
>
> Signed-off-by: Mike Rapoport (IBM) <rppt@xxxxxxxxxx>
> Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>

Reviewed-by: Vlastimil Babka <vbabka@xxxxxxx>