From nobody Sun Feb 8 05:23:40 2026 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 6FC63355802 for ; Wed, 24 Dec 2025 14:32:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766586775; cv=none; b=b2iCcXb4ydIT6OJHZjxWEiTCY9pXBVCtRQtpxPzhQHgCsozLcxt4BaD2FWQsOeC5EsWs5gzBv/MF1eQU69xhjCTeQv5EmsshA5k67dQcLAvp+UETmT69ieXqPtNk+prPaqixrP/94iF1MYGsX+fxO2M4sMm6aAcPJWoMr6ZMUb4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766586775; c=relaxed/simple; bh=2pqRUlaXa9JD6jn1fryY0t4Gl1tMNTo1aH2Fc2k9FDI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TD3yjpBysY1fYvNhwuWeynzipbHFjg7bh4AOmIDAGPUFE6TZInTIIr1xUcCxhRisST9drE/1P2JrHKOrXvLN+g+jJRvRfBRDaYyPNjB+nkwwksqiOGNJP4u7Wq6qGWUOpJ9rvnM0eh5FQPOzUQyQs3RyP+oPMeHnv6XvZ91XGew= 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=DANdyFJC; arc=none smtp.client-ip=209.85.128.54 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="DANdyFJC" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-477a2ab455fso58733095e9.3 for ; Wed, 24 Dec 2025 06:32:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1766586766; x=1767191566; 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=acBzvPA4QeFY0PeiSqzYItDFnTiAS+hVSKDt7fxlrqw=; b=DANdyFJCSnikG1FxGNWv5JGTVR/cYBKa+jtv9PF0lpjkHFHhlklhV6DfGt9V+LC23t c0y7PyEY5n07W2LhnrDPM5l7HUHsim0XH5IucFE5A1WHu3Ka6KbYzUzNyAkZysW+nH0g qDenNelzEjWj3HwLYhpJDh0eynNDBYylL03mmlVdahj+ksQO8efDzuajeM+y9Ihdor25 hvZ38Rw1e8X0UgKweEaLzbeiaGT17Bwvxhd7wy2yAsteFQyuyp3x3j/iCPxn/I4oYUzm j/wKk95ydnRoOdpmTMWUeYRYX4uCTOXH2w+z9NfDdbrPGVuCTRCGwYIFchYqFq0yE4HE 1KOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766586766; x=1767191566; 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=acBzvPA4QeFY0PeiSqzYItDFnTiAS+hVSKDt7fxlrqw=; b=SvrvdGynO9KS3eFe5lv0lhxHmUZjvc5dLQf8lfSkJtFjR+st563/WBcP4oderqlWZl gBu+vxVwTC55KE/Ot6rs3YjV0zYuY0Y+Cl0yrm0IHwIlHUAkF7onl1OqfAJTJC7DYeFs GQEir0mLS/lAaSa+Fg33vbE3tp3Q5Uh0vydO2Tf3oDo1MNAOjfSa+3bYL3yT9pTECONY spays8Qm6DHONiq9W+8JTuNbxxpYAoLG7eNXejZM6LCiWsOrewsolzMIB5WLywCQC31w OBHApLYyL8Ux5HtmKMUU7ZSlkEZeaVyKQQJcH4vi0/YppWPR5HnW+Xswc/PbfhFVAVkq wL9Q== X-Gm-Message-State: AOJu0YxEcSGKMoTHgl11a0rfBQ+LNYT5NkcyBDmXAkozLnZO8DgJtj3n Q6IQSoMM+gdZhJ716GbWNvMAD7ZYyPrxEv/Wjf3Vj2B7VToIYIW+KNefxsfJQXs1po8lLRakQkW 7kJlS X-Gm-Gg: AY/fxX5OAJcTcDYI39KoxtVH7DBYFRyRB1nXLl5U3keQfPNkTtVz+jDTTRy4boe/fSx +MUxjEWdNbwwTOVx4IQI+T1m6DdF5x89W1A8baRwkah0lCDeqB0iNMb0SGjQ5/e6xyy1p4eIul2 OkKUfRvP32Y0M3DPMCpjOsD1MtxGiqm/xzyqfLjhGXTPgSi3m+/q+4GJIo+BIpN7eION1uVbdrq IVz1jaJwXZQ6RAtyMfb6Xmj8ud1U7z9ifg3u4omjlxYeC4QLbl+VbWzc6cfDsPAhBkEgBczCMZe rQgLRr9U0/8MszkMQnq1i6zGPgpkZRNWJMNLhPkEN/+sQyvkCpRqholk4jBHpzjSwSFBffcdhIL l3Mhb5VOTx4uL2qNqVQyeYZXdDlN5taMwNlQqbgy9alKPgt/iK6EGnbEpyE49JA8v0BsZV96VnP uRglAKNXGak7UklC9/qUQiEne/JlBOxis5Y+M= X-Google-Smtp-Source: AGHT+IE4cnAiH/UTemP3VviqqIPEStBUFOA9zOzPLN0MZx5YnSEPlMp+v6tJla8erSUtJrhyJ0JqRA== X-Received: by 2002:a05:600c:4711:b0:47a:9560:5944 with SMTP id 5b1f17b1804b1-47d195c1a71mr197366965e9.34.1766586765875; Wed, 24 Dec 2025 06:32:45 -0800 (PST) Received: from localhost.localdomain ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47d192e88f5sm291735845e9.0.2025.12.24.06.32.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Dec 2025 06:32:45 -0800 (PST) From: Marco Crivellari To: linux-kernel@vger.kernel.org, timestamp@lists.linux.dev Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Dipen Patel Subject: [PATCH v2] hte: replace use of system_unbound_wq with system_dfl_wq Date: Wed, 24 Dec 2025 15:32:34 +0100 Message-ID: <20251224143234.47424-1-marco.crivellari@suse.com> X-Mailer: git-send-email 2.52.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 after a careful review and conversion of each individ= ual case, 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. Suggested-by: Tejun Heo Signed-off-by: Marco Crivellari --- Changes in v2: - improved commit message - rebased on v6.19-rc2 --- drivers/hte/hte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hte/hte.c b/drivers/hte/hte.c index 23a6eeb8c506..e2804636f2bd 100644 --- a/drivers/hte/hte.c +++ b/drivers/hte/hte.c @@ -826,7 +826,7 @@ int hte_push_ts_ns(const struct hte_chip *chip, u32 xla= ted_id, =20 ret =3D ei->cb(data, ei->cl_data); if (ret =3D=3D HTE_RUN_SECOND_CB && ei->tcb) { - queue_work(system_unbound_wq, &ei->cb_work); + queue_work(system_dfl_wq, &ei->cb_work); set_bit(HTE_TS_QUEUE_WK, &ei->flags); } =20 --=20 2.52.0