Re: [PATCH net-next] net: bridge: Use KMEM_CACHE instead of kmem_cache_create
From: Jiri Pirko <jiri@resnulli.us>
Date: 2024-01-31 09:27:16
Also in:
bridge, lkml
From: Jiri Pirko <jiri@resnulli.us>
Date: 2024-01-31 09:27:16
Also in:
bridge, lkml
Tue, Jan 30, 2024 at 10:25:36AM CET, chentao@kylinos.cn 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 <redacted>Reviewed-by: Jiri Pirko <redacted>