[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240630222904.627462-13-bvanassche@acm.org>
Date: Sun, 30 Jun 2024 15:26:30 -0700
From: Bart Van Assche <bvanassche@....org>
To: Tejun Heo <tj@...nel.org>
Cc: Lai Jiangshan <jiangshanlai@...il.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org,
Bart Van Assche <bvanassche@....org>,
Vitaly Wool <vitaly.wool@...sulko.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH 12/53] mm/z3fold: Switch to create*_workqueue2()
Prepare for removal of the create*_workqueue() macros.
Signed-off-by: Bart Van Assche <bvanassche@....org>
---
mm/z3fold.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/z3fold.c b/mm/z3fold.c
index 2ebfed32871b..6fd3a05ecfc6 100644
--- a/mm/z3fold.c
+++ b/mm/z3fold.c
@@ -934,10 +934,10 @@ static struct z3fold_pool *z3fold_create_pool(const char *name, gfp_t gfp)
INIT_LIST_HEAD(&pool->stale);
atomic64_set(&pool->pages_nr, 0);
pool->name = name;
- pool->compact_wq = create_singlethread_workqueue(pool->name);
+ pool->compact_wq = create_singlethread_workqueue2("%s", pool->name);
if (!pool->compact_wq)
goto out_unbuddied;
- pool->release_wq = create_singlethread_workqueue(pool->name);
+ pool->release_wq = create_singlethread_workqueue2("%s", pool->name);
if (!pool->release_wq)
goto out_wq;
INIT_WORK(&pool->work, free_pages_work);
Powered by blists - more mailing lists