Messages in this thread | | | Date | Wed, 31 Jan 2024 10:26:57 +0100 | From | Jiri Pirko <> | Subject | Re: [PATCH net-next] net: ipv4: Simplify the allocation of slab caches in inet_initpeers |
| |
Tue, Jan 30, 2024 at 10:22:55AM 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 <chentao@kylinos.cn>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
| |