Re: [PATCH net-next] net: ipv4: Simplify the allocation of slab caches in inet_initpeers

From: Jiri Pirko
Date: Wed Jan 31 2024 - 04:27:19 EST


Tue, Jan 30, 2024 at 10:22:55AM CET, chentao@xxxxxxxxxx wrote:
>commit 0a31bd5f2bbb ("KMEM_CACHE(): simplify slab cache creation")
>introduces a new macro.
>Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
>to simplify the creation of SLAB caches.
>
>Signed-off-by: Kunwu Chan <chentao@xxxxxxxxxx>

Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>