From nobody Tue Feb 10 01:19:51 2026 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9449F38BF99 for ; Tue, 13 Jan 2026 11:46:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768304809; cv=none; b=G3rF3NkAuGkJJ8mXDh2ulfjNOThYfpfDLBNB8N3Q6MyekV1zhMl0uSmXbF8bl/Jp5NLViRNyIxczm1AYw03sRKOk0sQJIOjLlYLD2RlfHn99ER7ZW1i+WkRHnSHmCkwMQNAstFNfPoHSXu8b2JqMaIXjpuLFBZhykcSn/n7FdOY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768304809; c=relaxed/simple; bh=Bu2jWDUnOAEzIUB9h8RtGJpuDvpVND3Y2rICryB1uw4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XMdJIKpiVWEO9RA4IA+UE+Aqf+wj9QziHwH//EO7Dz0KrmR9ZzNMJ1r3TkE5HrB68vadrPaSD4U9COwiD0sJ10Y1+Vk4FLx5GwD3rjTT1bTYtMsyh+h5ApkiH8174JsmlDRmSkvon/ZCqhlYARxKG/3kmedSlqX2jbSGbDl6aLo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=Fs4tKafQ; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="Fs4tKafQ" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-47edffe5540so1448115e9.0 for ; Tue, 13 Jan 2026 03:46:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1768304805; x=1768909605; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Xu2Gd9y2yQd69p5yQxI5o3t1KXuh4CilPfTzgbOnvsQ=; b=Fs4tKafQdNWEBT2G5xDLhjJcTzeHEVUIgZ3Jzf0/bb7SNMxzkXXCKZyqFO8sr9jgsg WhM0UUpxjDN7NVONCP8tXQhp56J99RjJiOqCe8Phn3hXGFQKH7FRffom6BSLyfLgxz/t 3W3mAlmanRRXa0sttmj83TK8YyqRuTu+IeznpbjXXzQma/QyoW0MhBySc9X5JMFgOA+5 7yfgNsR44Of3+VJC1Gf0utjGspCbAE/b/sq3BsueJqFiSWdHcH+xXCryb/V8j21Odxnh W87AinZDcr3JD4phOg7CckmTpt9CcnKShFiyzc0WySYRptdYIaI4CfJC6z+dPGua77wZ wkTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768304805; x=1768909605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Xu2Gd9y2yQd69p5yQxI5o3t1KXuh4CilPfTzgbOnvsQ=; b=o8V0mOh4dJkk96iNkwEdNtU+Iu3gnJIsjYBe88vn957WQbltEBfN5QU55CFIG4vfvl ZSUxykUWrsU1N4OyjC+pKP0p69Nym1fm1DD2j+rHfsmviO6VeADgctrWoy+wRFIjL7sY dLV0VPjBv1ZXkY3bxg8WIYX+ePmmdAqPfLDaRKlzT4I6x1ldV1/vZsi6kqnmcWycSAzl hqSwlmXys10q5WQxh//X4nxAz1VICS3Uf1ujM8X4pkF46szNBjQhPB5ZXAu7pRVixZPB Qi3TY8m7Jr+L9dE46YbgN6wnpSC2lgB7KMVEMgAC0NntKmviV+JPwdmdIxVp6AZe/FVM nPuA== X-Gm-Message-State: AOJu0YxGrKTefK8PnsRYG4bLHeRnrhz+R2H8t/KcqSHD2AiPi2vyUt9I b1dzBupP1W4gGQxLc/I12wuXtQ/I2BzjA4dxkYNqnYcP7E3kO9/p8PHPQIVpqkSya5NO5yPr72t +ELde X-Gm-Gg: AY/fxX49IHZ7jE9ehrTUNG2uBbPFdfNPhbmXmPj7qVKNn1teRXoO9zTzHRDNL9HL0Jf oN9kGuXvs2XyICJfj+v3I1vf0F7ODibJB+WrFgkfbqw0tAq0aoHopGPnIuJ7iaQ2Xbybq+uq0KY mrexv7yH46OxrWABJIY3VJGkqHPJFkCOK094DAjGy2qzN9cg6nqFZBT6TFkkbYIYtwEpGSPuGIY FA3vH6ofNv9YyDoTigeL36musbBenvDAUV3jcz6Djc1DE6k7RBySy8JKDu3+HQfPnzJonnQxVT1 V0GVS1qqBF+2+mI/c37Xc96XcC3cY/GDbSvOkWNixYOtOE1KpWlVzaMjBk/qbqQY1fiYz7/tSqo xH+v3nD8wlNEEwlOlWaF84mKNgROtaUt6M844tEGvXZsY1QGQ2YENocxC+5Os4D24FaasEcY20Z RsPsV0lvQpEv64RQ== X-Google-Smtp-Source: AGHT+IGJVKB1//BjsB27x5bhJ5UTOToFDrmanj64A2Fh/canwPClEtWxgbJynfd2lfSffDVitB+ueA== X-Received: by 2002:a05:600c:45ca:b0:475:e09c:960e with SMTP id 5b1f17b1804b1-47d84b38676mr247391765e9.32.1768304805515; Tue, 13 Jan 2026 03:46:45 -0800 (PST) Received: from linux ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47d7f6953fasm391850225e9.5.2026.01.13.03.46.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 03:46:45 -0800 (PST) From: Marco Crivellari To: linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Andrew Morton Subject: [PATCH v2 2/3] mm: Replace use of system_wq with system_percpu_wq Date: Tue, 13 Jan 2026 12:46:29 +0100 Message-ID: <20260113114630.152942-3-marco.crivellari@suse.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260113114630.152942-1-marco.crivellari@suse.com> References: <20260113114630.152942-1-marco.crivellari@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This patch continues the effort to refactor workqueue APIs, which has begun with the changes introducing new workqueues and a new alloc_workqueue flag: commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq") commit 930c2ea566af ("workqueue: Add new WQ_PERCPU flag") The point of the refactoring is to eventually alter the default behavior of workqueues to become unbound by default so that their workload placement is optimized by the scheduler. Before that to happen, workqueue users must be converted to the better named new workqueues with no intended behaviour changes: system_wq -> system_percpu_wq system_unbound_wq -> system_dfl_wq This way the old obsolete workqueues (system_wq, system_unbound_wq) can be removed in the future. Link: https://lore.kernel.org/all/20250221112003.1dSuoGyc@linutronix.de/ Suggested-by: Tejun Heo Signed-off-by: Marco Crivellari Reviewed-by: Frederic Weisbecker Reviewed-by: Sebastian Andrzej Siewior --- mm/backing-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/backing-dev.c b/mm/backing-dev.c index 2f65b5416228..4c6f0b85a24e 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c @@ -971,7 +971,7 @@ static int __init cgwb_init(void) { /* * There can be many concurrent release work items overwhelming - * system_wq. Put them in a separate wq and limit concurrency. + * system_percpu_wq. Put them in a separate wq and limit concurrency. * There's no point in executing many of these in parallel. */ cgwb_release_wq =3D alloc_workqueue("cgwb_release", 0, 1); --=20 2.52.0