diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-01-30 18:02:47 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-02-08 13:27:06 -0700 |
commit | a6e959bd3d6bfe8a3daeeacb714a299b9094a6cb (patch) | |
tree | 916dcf2639e6a282920817c3f837df7c6890bc0f /scripts/lib/kdoc/kdoc_parser.py | |
parent | da08d2edb020026beac01d087d3b37e479fdb7e9 (diff) |
io_uring: Simplify the allocation of slab caches
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>
Link: https://lore.kernel.org/r/20240130100247.81460-1-chentao@kylinos.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions