diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-01-31 12:43:23 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-02-08 21:29:40 +0300 |
commit | 48ff13a618b54aabc447659a9016068cf0cae322 (patch) | |
tree | 6b52027c61471c928c22f6afcde657eecc11b350 /block/blk-rq-qos.h | |
parent | e516c3fc6c182736aec5418a73f15199640491e2 (diff) | |
download | linux-48ff13a618b54aabc447659a9016068cf0cae322.tar.xz |
block: Simplify the allocation of slab caches
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: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20240131094323.146659-1-chentao@kylinos.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-rq-qos.h')
0 files changed, 0 insertions, 0 deletions