mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] coda: remove SLAB_MEM_SPREAD flag usage
@ 2024-02-24 13:56 chengming.zhou
  0 siblings, 0 replies; only message in thread
From: chengming.zhou @ 2024-02-24 13:56 UTC (permalink / raw)
  To: jaharkes, coda
  Cc: codalist, linux-kernel, linux-mm, vbabka, roman.gushchin,
	Xiongwei.Song, chengming.zhou, Chengming Zhou

From: Chengming Zhou <zhouchengming@bytedance.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@bytedance.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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-24 13:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-24 13:56 [PATCH] coda: remove SLAB_MEM_SPREAD flag usage chengming.zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®