* [PATCH] idpf: Replace use of system_unbound_wq with system_dfl_wq
@ 2026-03-13 15:09 Marco Crivellari
2026-03-13 16:08 ` Przemek Kitszel
0 siblings, 1 reply; 5+ messages in thread
From: Marco Crivellari @ 2026-03-13 15:09 UTC (permalink / raw)
To: linux-kernel, intel-wired-lan, netdev
Cc: Tejun Heo, Lai Jiangshan, Frederic Weisbecker,
Sebastian Andrzej Siewior, Marco Crivellari, Michal Hocko,
Tony Nguyen, Przemek Kitszel, Andrew Lunn, David S . Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni
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 <tj@kernel.org>
Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
---
drivers/net/ethernet/intel/idpf/idpf_txrx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/intel/idpf/idpf_txrx.c b/drivers/net/ethernet/intel/idpf/idpf_txrx.c
index 252259993022..6b84e728d29d 100644
--- a/drivers/net/ethernet/intel/idpf/idpf_txrx.c
+++ b/drivers/net/ethernet/intel/idpf/idpf_txrx.c
@@ -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;
}
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] idpf: Replace use of system_unbound_wq with system_dfl_wq
2026-03-13 15:09 [PATCH] idpf: Replace use of system_unbound_wq with system_dfl_wq Marco Crivellari
@ 2026-03-13 16:08 ` Przemek Kitszel
2026-03-14 16:10 ` Jakub Kicinski
0 siblings, 1 reply; 5+ messages in thread
From: Przemek Kitszel @ 2026-03-13 16:08 UTC (permalink / raw)
To: Marco Crivellari, intel-wired-lan
Cc: Tejun Heo, linux-kernel, netdev, Lai Jiangshan,
Frederic Weisbecker, Sebastian Andrzej Siewior, Michal Hocko,
Tony Nguyen, Andrew Lunn, David S . Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni
On 3/13/26 16:09, Marco Crivellari wrote:
> 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.
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
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
>
> 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 <tj@kernel.org>
> Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
> ---
> drivers/net/ethernet/intel/idpf/idpf_txrx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/intel/idpf/idpf_txrx.c b/drivers/net/ethernet/intel/idpf/idpf_txrx.c
> index 252259993022..6b84e728d29d 100644
> --- a/drivers/net/ethernet/intel/idpf/idpf_txrx.c
> +++ b/drivers/net/ethernet/intel/idpf/idpf_txrx.c
> @@ -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;
> }
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] idpf: Replace use of system_unbound_wq with system_dfl_wq
2026-03-13 16:08 ` Przemek Kitszel
@ 2026-03-14 16:10 ` Jakub Kicinski
2026-03-16 16:58 ` Tony Nguyen
0 siblings, 1 reply; 5+ messages in thread
From: Jakub Kicinski @ 2026-03-14 16:10 UTC (permalink / raw)
To: Przemek Kitszel
Cc: intel-wired-lan, linux-kernel, netdev, Tony Nguyen, Andrew Lunn,
David S . Miller, Eric Dumazet, Paolo Abeni
On Fri, 13 Mar 2026 17:08:57 +0100 Przemek Kitszel wrote:
> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
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..
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] idpf: Replace use of system_unbound_wq with system_dfl_wq
2026-03-14 16:10 ` Jakub Kicinski
@ 2026-03-16 16:58 ` Tony Nguyen
2026-03-16 19:41 ` Jakub Kicinski
0 siblings, 1 reply; 5+ messages in thread
From: Tony Nguyen @ 2026-03-16 16:58 UTC (permalink / raw)
To: Jakub Kicinski, Przemek Kitszel
Cc: intel-wired-lan, linux-kernel, netdev, Andrew Lunn,
David S . Miller, Eric Dumazet, Paolo Abeni
On 3/14/2026 9:10 AM, Jakub Kicinski wrote:
> On Fri, 13 Mar 2026 17:08:57 +0100 Przemek Kitszel wrote:
>> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
>
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] idpf: Replace use of system_unbound_wq with system_dfl_wq
2026-03-16 16:58 ` Tony Nguyen
@ 2026-03-16 19:41 ` Jakub Kicinski
0 siblings, 0 replies; 5+ messages in thread
From: Jakub Kicinski @ 2026-03-16 19:41 UTC (permalink / raw)
To: Tony Nguyen
Cc: Przemek Kitszel, intel-wired-lan, linux-kernel, netdev,
Andrew Lunn, David S . Miller, Eric Dumazet, Paolo Abeni
On Mon, 16 Mar 2026 09:58:29 -0700 Tony Nguyen wrote:
> On 3/14/2026 9:10 AM, Jakub Kicinski wrote:
> > On Fri, 13 Mar 2026 17:08:57 +0100 Przemek Kitszel wrote:
> >> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
> >
> > 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.
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-03-16 19:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-13 15:09 [PATCH] idpf: Replace use of system_unbound_wq with system_dfl_wq Marco Crivellari
2026-03-13 16:08 ` Przemek Kitszel
2026-03-14 16:10 ` Jakub Kicinski
2026-03-16 16:58 ` Tony Nguyen
2026-03-16 19:41 ` Jakub Kicinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox