[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240224135601.830560-1-chengming.zhou@linux.dev>
Date: Sat, 24 Feb 2024 13:56:01 +0000
From: chengming.zhou@...ux.dev
To: jaharkes@...cmu.edu,
coda@...cmu.edu
Cc: codalist@...a.cs.cmu.edu,
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] coda: 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>
---
fs/coda/inode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/coda/inode.c b/fs/coda/inode.c
index 479c45b7b621..9ce6b9929bc7 100644
--- a/fs/coda/inode.c
+++ b/fs/coda/inode.c
@@ -72,8 +72,8 @@ int __init coda_init_inodecache(void)
{
coda_inode_cachep = kmem_cache_create("coda_inode_cache",
sizeof(struct coda_inode_info), 0,
- SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD|
- SLAB_ACCOUNT, init_once);
+ SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT,
+ init_once);
if (coda_inode_cachep == NULL)
return -ENOMEM;
return 0;
--
2.40.1
Powered by blists - more mailing lists