From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72C6635B628 for ; Tue, 27 Jan 2026 13:51:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769521893; cv=none; b=ckYmNZZMypcbSZJU4uz9ug/sHRt+sgh16Ja1gPdsCA3romSeXnxKAyBBe5Nxm6v9j/remN6ufD8XE8d4ySMcKs2Alhbb+Kr0LhH1SUs+doYT9qjKSSDfsb3KM6EU23MHPWQGtQ/8S6pma+J1IGLwX3TDBUVgaH4gHXsnDZxc4Ro= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769521893; c=relaxed/simple; bh=xZ8tvKjFjicU4EYxMKVbg3cZK5aOCUTovxWxMSM6pqg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pQozjkw8Lf1BY6eEhKbBROvR6BOJvqZCFuPPZOa5qSJSfzKbqXAie5UZ5s56FfpYYxgRuW+EBbP/g2gsJebbmghrSZv7SXGSeD0QGv8rtgnhBGvxMhdfW6ld93hJqlaSFqyublJpY/bgpT0SkMFVpN9/pQv5TSE325v3CArkU9o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MS4sJi78; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MS4sJi78" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC28FC116C6; Tue, 27 Jan 2026 13:51:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769521893; bh=xZ8tvKjFjicU4EYxMKVbg3cZK5aOCUTovxWxMSM6pqg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MS4sJi78yYKjENIYjg+zN5FME+vxsGWJ09Ty6riuWJiKlzblTGFPuBT28uq/PQEcy vUxNYRIz4qNL7hNQ529tFhRhm3Qy20kGw9aM50kI9a8wBwtwcvCe+78zrHQbLyeldX vJQDAm/+4ji9DLR2O9LoJ5dePBatlrNDtJqMAcu5C5tXEliGO4ZD1ZpIXR39PXl3cP 0bAqppA5J61zVGmsCcXeB4L5aZSS/wGmubiKrxY3ZfjM6looctHd0v95paeb4x/mvR 01ALiaaxl/m9LCjARz1RFfFL/+bpxYaqE7eAJjFa4dGIOuXGgV043RiYf4JKdg4fcf 9PwOaKfl2nHmw== Date: Tue, 27 Jan 2026 14:51:30 +0100 From: Frederic Weisbecker To: Marco Crivellari Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Tejun Heo , Lai Jiangshan , Sebastian Andrzej Siewior , Michal Hocko , Andrew Morton Subject: Re: [PATCH v2 2/3] mm: Replace use of system_wq with system_percpu_wq Message-ID: References: <20260113114630.152942-1-marco.crivellari@suse.com> <20260113114630.152942-3-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-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260113114630.152942-3-marco.crivellari@suse.com> Le Tue, Jan 13, 2026 at 12:46:29PM +0100, Marco Crivellari a écrit : > 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 -- Frederic Weisbecker SUSE Labs