[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240224135149.830234-1-chengming.zhou@linux.dev>
Date: Sat, 24 Feb 2024 13:51:49 +0000
From: chengming.zhou@...ux.dev
To: trond.myklebust@...merspace.com,
anna@...nel.org,
chuck.lever@...cle.com,
jlayton@...nel.org,
neilb@...e.de,
kolga@...app.com
Cc: Dai.Ngo@...cle.com,
tom@...pey.com,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
linux-nfs@...r.kernel.org,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-mm@...ck.org,
vbabka@...e.cz,
roman.gushchin@...ux.dev,
Xiongwei.Song@...driver.com,
chengming.zhou@...ux.dev,
Chengming Zhou <zhouchengming@...edance.com>
Subject: [PATCH] sunrpc: remove SLAB_MEM_SPREAD flag usage
From: Chengming Zhou <zhouchengming@...edance.com>
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@...edance.com>
---
net/sunrpc/rpc_pipe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index dcc2b4f49e77..910a5d850d04 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -1490,7 +1490,7 @@ int register_rpc_pipefs(void)
rpc_inode_cachep = kmem_cache_create("rpc_inode_cache",
sizeof(struct rpc_inode),
0, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|
- SLAB_MEM_SPREAD|SLAB_ACCOUNT),
+ SLAB_ACCOUNT),
init_once);
if (!rpc_inode_cachep)
return -ENOMEM;
--
2.40.1
Powered by blists - more mailing lists