Re: [PATCH net-next] net: bridge: Use KMEM_CACHE instead of kmem_cache_create

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


Tue, Jan 30, 2024 at 10:25:36AM 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>