Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a6e959bd authored by Kunwu Chan's avatar Kunwu Chan Committed by Jens Axboe
Browse files

io_uring: Simplify the allocation of slab caches

commit 0a31bd5f

 ("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: default avatarKunwu Chan <chentao@kylinos.cn>
Link: https://lore.kernel.org/r/20240130100247.81460-1-chentao@kylinos.cn


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent da08d2ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment