idpf: Replace use of system_unbound_wq with system_dfl_wq
Subsystems (3)
PATCH 1/1 idpf: Replace use of system_unbound_wq with system_dfl_wq
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.
--- drivers/net/ethernet/intel/idpf/idpf_txrx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/idpf/idpf_txrx.c +1 -1
@@ -2022,7 +2022,7 @@ static void idpf_tx_read_tstamp(struct idpf_tx_queue *txq, struct sk_buff *skb)/* Fetch timestamp from completion descriptor through * virtchnl msg to report to stack. */ -queue_work (system_unbound_wq, txq->tstamp_task); +queue_work (system_dfl_wq, txq->tstamp_task);break ; }
Signature · 1 line
2.53.0
Quoted 9 lines · Marco Crivellari
This patch continues the effort to refactor workqueue APIs, which has begun with the changes introducing new workqueues and a new
alloc_workqueueflag:commit
128ea9f6ccfb("workqueue: Addsystem_percpu_wqandsystem_dfl_wq") commit930c2ea566af("workqueue: Add newWQ_PERCPUflag")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.
this wording kinda scared me, but after reading linked commits, there is nothing to worry about, as there are no functional changes in this patch
Quoted 30 lines
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_wqThis way the old obsolete workqueues (
system_wq,system_unbound_wq) can be removed in the future.Suggested-by Tejun Heo <[email protected]>Signed-off-by Marco Crivellari <[email protected]>--- drivers/net/ethernet/intel/idpf/idpf_txrx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/intel/idpf/idpf_txrx.c +1
-1@@ -2022,7 +2022,7 @@ static void idpf_tx_read_tstamp(struct idpf_tx_queue *txq, struct sk_buff *skb)/* Fetch timestamp from completion descriptor through * virtchnl msg to report to stack. */ -queue_work (system_unbound_wq, txq->tstamp_task); +queue_work (system_dfl_wq, txq->tstamp_task);break ; }
Jakub Kicinski
maintainerQuoted 1 line · On Fri, 13 Mar 2026 17:08:57 +0100 Przemek Kitszel wrote:
Reviewed-by Przemek Kitszel <[email protected]>
Process question - even tho you are also a maintainer I only read Tony's tags as "please apply directly". LMK if that's right, I'll try to remember / make a note..
Tony Nguyen
maintainerQuoted 6 lines · Jakub Kicinski
Quoted 1 line · On Fri, 13 Mar 2026 17:08:57 +0100 Przemek Kitszel wrote:
Reviewed-by Przemek Kitszel <[email protected]>Process question - even tho you are also a maintainer I only read Tony's tags as "please apply directly". LMK if that's right, I'll try to remember / make a note..
I talked to Przemek about this a little this morning. Since the Reviewed-by tag is used more prevalently in our process, perhaps an Acked-by could mean take this directly and the Reviewed-by keeps the same process of going through IWL. Other thought would be to explicitly ask/state for it to get taken directly. Open to other ideas as well if there's something else you'd prefer.
Thanks,
Tony
Jakub Kicinski
maintainerQuoted 8 lines · On Mon, 16 Mar 2026 09:58:29 -0700 Tony Nguyen wrote:
Quoted 6 lines · Jakub Kicinski
Quoted 1 line · On Fri, 13 Mar 2026 17:08:57 +0100 Przemek Kitszel wrote:
Reviewed-by Przemek Kitszel <[email protected]>Process question - even tho you are also a maintainer I only read Tony's tags as "please apply directly". LMK if that's right, I'll try to remember / make a note..
Quoted 6 lines
I talked to Przemek about this a little this morning. Since the Reviewed-by tag is used more prevalently in our process, perhaps an Acked-by could mean take this directly and the Reviewed-by keeps the same process of going through IWL. Other thought would be to explicitly ask/state for it to get taken directly. Open to other ideas as well if there's something else you'd prefer.
Sounds complicated :S Let me continue ignoring Przemek's tags for the purpose of direct application. I guess it's more about who sends the PRs than who is a maintainer. If you send PRs I naturally never see your review tags, as the patches will eventually come out with your SoB.
Salin, Samuel
Tested-byQuoted 31 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Jakub Kicinski
Sent: Monday, March 16, 2026 12:41 PM
To: Nguyen, Anthony L <[email protected]>
Cc: Kitszel, Przemyslaw <[email protected]>; intel-wired- [email protected]; [email protected]; [email protected]; Andrew Lunn <[email protected]>; David S . Miller <[email protected]>; Eric Dumazet <[email protected]>; Paolo Abeni <[email protected]>
Subject: Re: [Intel-wired-lan] [PATCH] idpf: Replace use ofsystem_unbound_wqwithsystem_dfl_wqQuoted 8 lines · On Mon, 16 Mar 2026 09:58:29 -0700 Tony Nguyen wrote:
Quoted 6 lines · Jakub Kicinski
Quoted 1 line · On Fri, 13 Mar 2026 17:08:57 +0100 Przemek Kitszel wrote:
Reviewed-by Przemek Kitszel <[email protected]>Process question - even tho you are also a maintainer I only read Tony's tags as "please apply directly". LMK if that's right, I'll try to remember / make a note..
Quoted 6 lines
I talked to Przemek about this a little this morning. Since the Reviewed-by tag is used more prevalently in our process, perhaps an Acked-by could mean take this directly and the Reviewed-by keeps the same process of going through IWL. Other thought would be to explicitly ask/state for it to get taken directly. Open to other ideas as well if there's something else you'd prefer.
Quoted 4 lines
Sounds complicated :S Let me continue ignoring Przemek's tags for the purpose of direct application. I guess it's more about who sends the PRs than who is a maintainer. If you send PRs I naturally never see your review tags, as the patches will eventually come out with your SoB.
Quoted 5 lines · Przemek Kitszel
[...]
this wording kinda scared me, but after reading linked commits, there is nothing to worry about, as there are no functional changes in this patchReviewed-by Przemek Kitszel <[email protected]>
Hi,
Sorry for the late reply. Yes, correct: there are no functional changes.
Thanks!
Signature · 3 lines
Marco Crivellari SUSE Labs