quota: remove SLAB_MEM_SPREAD flag usage
authorChengming Zhou <zhouchengming@bytedance.com>
Sat, 24 Feb 2024 13:51:18 +0000 (13:51 +0000)
committerJan Kara <jack@suse.cz>
Tue, 5 Mar 2024 14:15:50 +0000 (15:15 +0100)
The SLAB_MEM_SPREAD flag is already a no-op after removal of SLAB
allocator and in [1] it was fully deprecated. Remove its usage so we can
delete it from slab. No functional change.

Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-1-02f1753e8303@suse.cz/
Message-Id: <20240224135118.830073-1-chengming.zhou@linux.dev>

fs/quota/dquot.c

index f73016c7bc39287c9e668c99db395ea698085899..dacbee455c034c5463c002d754a94e101d883452 100644 (file)
@@ -3008,7 +3008,7 @@ static int __init dquot_init(void)
        dquot_cachep = kmem_cache_create("dquot",
                        sizeof(struct dquot), sizeof(unsigned long) * 4,
                        (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|
-                               SLAB_MEM_SPREAD|SLAB_PANIC),
+                               SLAB_PANIC),
                        NULL);
 
        order = 0;