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 6E55F2E9EAC for ; Tue, 27 Jan 2026 13:49:19 +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=1769521759; cv=none; b=Xdmpj0nDsUnAW7XMjIS3N7N0VAtbqOFUGEa0JQx0vbonZd3N+BUWtdGTe2FlVOcRkZT05Qv/IPqNo6aDj8Gjc59+hAQ+aP1y32i39CbSuFT2oAlwMaIMucPJyPZwhAJUMwl3q/S8SzluTpC8VaJWrjTIqU9JpTERoNbyb5KEDd4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769521759; c=relaxed/simple; bh=SeCn7f6xD6ig2/TTlxQeUnXATuwToDbHHXsGspeI9qs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Bb9VzHiQDGY65BWfoa6LwqvNYRRI+oOkCXyib1FFY8ZgK31h4NfD8sOBtylziphHjqKpoM3ThS5tpsYVOUvYwIc7AVynbfGCCtaUZ2oPfz1paXdu/FAwlFYRHINAkGsfwEWDVYmwNRJPhtRp5/f6afXMx15BQQWEIPOrsTOeMBM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MD1e38zv; 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="MD1e38zv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88994C116C6; Tue, 27 Jan 2026 13:49:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769521759; bh=SeCn7f6xD6ig2/TTlxQeUnXATuwToDbHHXsGspeI9qs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MD1e38zvow7+Y1gKwI7+ZJ6snWq4hCJWP21MAyKssd+zbq2r3Jjlsz8+Pw8Avpxh5 ZV+OeT2dolwEZx5v9hHkRvFs30IXTwdWpfU2wTdXO9B47zxsZLR6uerz7Rt4A4pmt5 TVE+mjOxAL1lxuLnePfSa5NLzV/GgjOfGE6qGuTiJTgRuuag/dhOyr5NmNXFKZ/6LT LlTT293LF29/Y1df7/Azw/9J1Fdsl2MPgHtLplsEyBEpBxaWb4uEUpb/b5e8B2vMJ7 Los7QmMIBEuH8JKC8mcJNegumoygW1S/hBOxv6KLee8NjMos4KFbfoOmDBEc4Bkk4z 0FMDBArgHv9QA== Date: Tue, 27 Jan 2026 14:49:16 +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 1/3] mm: Replace use of system_unbound_wq with system_dfl_wq Message-ID: References: <20260113114630.152942-1-marco.crivellari@suse.com> <20260113114630.152942-2-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-2-marco.crivellari@suse.com> Le Tue, Jan 13, 2026 at 12:46:28PM +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