[for-next][PATCH 2/8] tracefs: Remove SLAB_MEM_SPREAD flag usage

From: Steven Rostedt
Date: Thu Mar 14 2024 - 10:21:39 EST


From: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>

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.

Link: https://lore.kernel.org/linux-trace-kernel/20240224135206.830300-1-chengming.zhou@xxxxxxxxx

Signed-off-by: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>
Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
---
fs/tracefs/inode.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c
index d65ffad4c327..5545e6bf7d26 100644
--- a/fs/tracefs/inode.c
+++ b/fs/tracefs/inode.c
@@ -731,7 +731,6 @@ static int __init tracefs_init(void)
tracefs_inode_cachep = kmem_cache_create("tracefs_inode_cache",
sizeof(struct tracefs_inode),
0, (SLAB_RECLAIM_ACCOUNT|
- SLAB_MEM_SPREAD|
SLAB_ACCOUNT),
init_once);
if (!tracefs_inode_cachep)
--
2.43.0