Skip to contentSkip to conversation

bfs: remove SLAB_MEM_SPREAD flag usage

PATCH New [email protected] 1 participant 1 message Feb 24, 2024 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bfs: remove SLAB_MEM_SPREAD flag usage

From: Chengming Zhou <[email protected]>

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.

---
 fs/bfs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/bfs/inode.c +1 -1
index 355957dbce39..db81570c9637 100644
@@ -259,7 +259,7 @@ static int __init init_inodecache(void)
 	bfs_inode_cachep = kmem_cache_create("bfs_inode_cache",
 					     sizeof(struct bfs_inode_info),
 					     0, (SLAB_RECLAIM_ACCOUNT|
-						SLAB_MEM_SPREAD|SLAB_ACCOUNT),
+						SLAB_ACCOUNT),
 					     init_once);
 	if (bfs_inode_cachep == NULL)
 		return -ENOMEM;
Signature · 1 line
2.40.1