Skip to content

Commit 82c6515

Browse files
Chengming Zhouaxboe
authored andcommitted
bdev: remove SLAB_MEM_SPREAD flag usage
The SLAB_MEM_SPREAD flag is already a no-op as of 6.8-rc1, remove its usage so we can delete it from slab. No functional change. Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com> Link: https://lore.kernel.org/r/20240224134646.829105-1-chengming.zhou@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent af550e4 commit 82c6515

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

block/bdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ void __init bdev_cache_init(void)
377377

378378
bdev_cachep = kmem_cache_create("bdev_cache", sizeof(struct bdev_inode),
379379
0, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|
380-
SLAB_MEM_SPREAD|SLAB_ACCOUNT|SLAB_PANIC),
380+
SLAB_ACCOUNT|SLAB_PANIC),
381381
init_once);
382382
err = register_filesystem(&bd_type);
383383
if (err)

0 commit comments

Comments
 (0)