Re: [PATCH net-next] sctp: Simplify the allocation of slab caches
From: Xin Long <lucien.xin@gmail.com>
Date: 2024-02-01 01:12:46
Also in:
linux-sctp, lkml
From: Xin Long <lucien.xin@gmail.com>
Date: 2024-02-01 01:12:46
Also in:
linux-sctp, lkml
On Wed, Jan 31, 2024 at 3:46 AM Kunwu Chan [off-list ref] 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>Acked-by: Xin Long <lucien.xin@gmail.com>