From nobody Tue Apr 7 11:17:13 2026 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 3AFC83A452F for ; Fri, 13 Mar 2026 15:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773416732; cv=none; b=m0B15ZzvJxOQsAC8xPhrx242qBiJbmitULSCdUbT3zzKceued1bs+0XpN4LvYpJZMzqYgIlT/nnpU/1lvnaoCxuAedezKVeLCuDCcz2NSEF85ftVf10cCn1roeX8yE2jD9Ss0Z+GyORDrrG0gbfgCOl18wcUHD3TEVonHoctkEU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773416732; c=relaxed/simple; bh=21bXOg0JQpJVdJaDBIhDYe1WUO9w0bqmWHBTbZ6vSew=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jdN+dniiNQ5XLSM4hZJNnaKCymXTkAqWEgTahbnvwqmefBqzg3VESMOpQxseCJgVoyDd530jxKEXubpMKUEUaUlVLF65+YeOMmo3NJNVKSw6Hf5D0T0iviDKZACLGzc9ANyrV99/KTtUHFjtB6NuIz0siGY+0CRlwfFhCbQosmY= 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=OGCP2Y6t; arc=none smtp.client-ip=209.85.128.47 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="OGCP2Y6t" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-48334ee0aeaso21871135e9.1 for ; Fri, 13 Mar 2026 08:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1773416728; x=1774021528; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8h0xBRZpJwupjrPCtc2DfsfhP5gGT2O2YpJh7upEqBM=; b=OGCP2Y6tWDqKUlM/o7JYj3ZLgo8EP8I8SVweL5YPiKSfBSyTwF9pXB8LXyH70oaOCh IfrJmwIsliDbv4oIx3b52GzTyc5N9HJy8mY2NM/xzshpaqRr1Ph8VybO+HoTf87IOZ/a ugV0JBBTlLIirLbM8hMMjZmpQ2fzmOtS/pVEvsCxWBy1m6JjYgwG8BcSzM3/3+70GdSU Xa/IDlKatAIgCnBPsRRHYuXM3ZPCBL1dplr9BaruN57mUVcZxGjiNgI+jrZWoPQsCrZj rNoYGdYqyrjpnfmSkqVwk8OEfxP+UOfjlmYcmbbrVaat/NiFkubGnXQmJsgWmXbsxpl8 xzBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773416728; x=1774021528; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8h0xBRZpJwupjrPCtc2DfsfhP5gGT2O2YpJh7upEqBM=; b=CDLPQktqVxXO2UDYNu48ZE2RnsIcYOepkHOj2l7pyLTIMKu36q9AmcMS4KS3bCqSYM STDpw0IjnZY26+tyGs8d7irwldosluOU88jdC0b08t20qkse37AEB6Jjqqv6cGEQrh4u PCRoLIexnhQcAXRRresCpaUjqJ0ty/Is/71GbIpJAUOZmLUNYhar75I7YXwKa85TriQJ +0pofqIWj+q1Xancpe5xEsYH7BgPrOsDe2belZXWMoA01CQHg69dq7dM4PI6rhJ6qlC7 jM+6pjocGuXiUpQhqTHwLV+0wJdIdV1BxeMkLzjPBiB6qhZG3sU6vdOz18dv/FIVBvIF n0AA== X-Gm-Message-State: AOJu0YyPWCtDZmKZDLa2ip1VM3/IWRetmOZXCXFZGsfGmJYocg91vd6F zCIZTwHrgFq13LD4lFmR2JGhkojNJhEGUVYjqwKJ9MHWw3d/i3BuA5xXAlgMc4hAgkfR7ZZLk+7 4SXHY X-Gm-Gg: ATEYQzzulsvMm1tiF6NZ+5xSb2SeFmE9ynX9HkkcXyXNrp2x932w4lUSVY/zR7jFGQM FFQdL3/oGgy6uNZWtq6OO2fl3A6f89FHSNvnZYMvbS7i9Etdl43dpqhOpyGny8VLmZ6rqOGV+P/ tLVmYMqhKAM3A0nfV1mGuQQjhpCScEFIspIv0fNCDxoYjf36gJ6VWIurc3HesFfV1nf6QmAHwP3 GLOzbhjc25AdHNr8PYuqbW/I6cRDxByehhQ6CXg7ZimGPbNLLcn66b/27Pw3ebJmjEX/WakmFdf /lQ6PXlPQcAhNT35jTbSuP3lyfN6vYf+xIkhyirDezYnyG9TDyPjeVZQp4+kuulwARes6VyBHNF 6NzL/cZl0adGJ4tYbt0C24L9VuWn3/fgOn1cjqIAjTLkVcXRVxB7X/vc2UekrUTdctD9IJ1roMd 6cYkoxwGCNa0he0ixFx4GEOOMTV+9elhEbC2IUQ4Y= X-Received: by 2002:a05:600c:6291:b0:485:4f20:1335 with SMTP id 5b1f17b1804b1-485566e1a39mr70343685e9.6.1773416728036; Fri, 13 Mar 2026 08:45:28 -0700 (PDT) Received: from linux.fritz.box ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439fe20c473sm19009987f8f.24.2026.03.13.08.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2026 08:45:27 -0700 (PDT) From: Marco Crivellari To: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Waiman Long , Chen Ridong , Johannes Weiner , Michal Koutny Subject: [PATCH] cgroup/cpuset: Replace use of system_unbound_wq with system_dfl_wq Date: Fri, 13 Mar 2026 16:45:20 +0100 Message-ID: <20260313154520.302888-1-marco.crivellari@suse.com> X-Mailer: git-send-email 2.53.0 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 --- kernel/cgroup/cpuset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index e200de7c60b6..b399f5d0a158 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -3937,7 +3937,7 @@ static void cpuset_handle_hotplug(void) * item at all, this is not a problem. */ if (update_housekeeping || force_sd_rebuild) - queue_work(system_unbound_wq, &hk_sd_work); + queue_work(system_dfl_wq, &hk_sd_work); =20 free_tmpmasks(ptmp); } --=20 2.53.0