* [PATCH] octeontx2-af: add WQ_PERCPU to alloc_workqueue users
@ 2026-01-13 14:12 Marco Crivellari
2026-02-23 9:34 ` Marco Crivellari
2026-03-27 16:03 ` Marco Crivellari
0 siblings, 2 replies; 5+ messages in thread
From: Marco Crivellari @ 2026-01-13 14:12 UTC (permalink / raw)
To: linux-kernel, linux-media
Cc: Tejun Heo, Lai Jiangshan, Frederic Weisbecker,
Sebastian Andrzej Siewior, Marco Crivellari, Michal Hocko,
Sunil Goutham, Linu Cherian, Geetha sowjanya, Jerin Jacob,
hariprasad, Subbaraya Sundeep, Andrew Lunn, David S . Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni
This continues the effort to refactor workqueue APIs, which began with
the introduction of new workqueues and a new alloc_workqueue flag in:
commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq")
commit 930c2ea566af ("workqueue: Add new WQ_PERCPU flag")
The refactoring is going to alter the default behavior of
alloc_workqueue() to be unbound by default.
With the introduction of the WQ_PERCPU flag (equivalent to !WQ_UNBOUND),
any alloc_workqueue() caller that doesn’t explicitly specify WQ_UNBOUND
must now use WQ_PERCPU. For more details see the Link tag below.
In order to keep alloc_workqueue() behavior identical, explicitly request
WQ_PERCPU.
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/marvell/octeontx2/af/rvu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu.c b/drivers/net/ethernet/marvell/octeontx2/af/rvu.c
index 2d78e08f985f..a5cc8d5f00dd 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/rvu.c
+++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu.c
@@ -2534,7 +2534,7 @@ static int rvu_mbox_init(struct rvu *rvu, struct mbox_wq_info *mw,
}
mw->mbox_wq = alloc_workqueue("%s",
- WQ_HIGHPRI | WQ_MEM_RECLAIM,
+ WQ_HIGHPRI | WQ_MEM_RECLAIM | WQ_PERCPU,
num, name);
if (!mw->mbox_wq) {
err = -ENOMEM;
--
2.52.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] octeontx2-af: add WQ_PERCPU to alloc_workqueue users
2026-01-13 14:12 [PATCH] octeontx2-af: add WQ_PERCPU to alloc_workqueue users Marco Crivellari
@ 2026-02-23 9:34 ` Marco Crivellari
2026-03-27 16:03 ` Marco Crivellari
1 sibling, 0 replies; 5+ messages in thread
From: Marco Crivellari @ 2026-02-23 9:34 UTC (permalink / raw)
To: linux-kernel, linux-media
Cc: Tejun Heo, Lai Jiangshan, Frederic Weisbecker,
Sebastian Andrzej Siewior, Michal Hocko, Sunil Goutham,
Linu Cherian, Geetha sowjanya, Jerin Jacob, hariprasad,
Subbaraya Sundeep, Andrew Lunn, David S . Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni
On Tue, Jan 13, 2026 at 3:13 PM Marco Crivellari
<marco.crivellari@suse.com> wrote:
> drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Gentle ping.
Thanks!
--
Marco Crivellari
L3 Support Engineer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] octeontx2-af: add WQ_PERCPU to alloc_workqueue users
2026-01-13 14:12 [PATCH] octeontx2-af: add WQ_PERCPU to alloc_workqueue users Marco Crivellari
2026-02-23 9:34 ` Marco Crivellari
@ 2026-03-27 16:03 ` Marco Crivellari
2026-03-27 18:31 ` Paolo Abeni
1 sibling, 1 reply; 5+ messages in thread
From: Marco Crivellari @ 2026-03-27 16:03 UTC (permalink / raw)
To: linux-kernel, linux-media
Cc: Tejun Heo, Lai Jiangshan, Frederic Weisbecker,
Sebastian Andrzej Siewior, Michal Hocko, Sunil Goutham,
Linu Cherian, Geetha sowjanya, Jerin Jacob, hariprasad,
Subbaraya Sundeep, Andrew Lunn, David S . Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni
On Tue, Jan 13, 2026 at 3:13 PM Marco Crivellari
<marco.crivellari@suse.com> wrote:
> [...]
> drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Hi,
Gentle ping.
Thanks!
--
Marco Crivellari
L3 Support Engineer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] octeontx2-af: add WQ_PERCPU to alloc_workqueue users
2026-03-27 16:03 ` Marco Crivellari
@ 2026-03-27 18:31 ` Paolo Abeni
2026-03-30 7:47 ` Marco Crivellari
0 siblings, 1 reply; 5+ messages in thread
From: Paolo Abeni @ 2026-03-27 18:31 UTC (permalink / raw)
To: Marco Crivellari, linux-kernel, linux-media
Cc: Tejun Heo, Lai Jiangshan, Frederic Weisbecker,
Sebastian Andrzej Siewior, Michal Hocko, Sunil Goutham,
Linu Cherian, Geetha sowjanya, Jerin Jacob, hariprasad,
Subbaraya Sundeep, Andrew Lunn, David S . Miller, Eric Dumazet,
Jakub Kicinski
On 3/27/26 5:03 PM, Marco Crivellari wrote:
> On Tue, Jan 13, 2026 at 3:13 PM Marco Crivellari
> <marco.crivellari@suse.com> wrote:
>> [...]
>> drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Hi,
>
> Gentle ping.
I looks like the above patch did not land into the netdev ML. You have
to resubmit with the correct recipients list and including 'net-next'
into the subj prefix.
Thanks,
Paolo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] octeontx2-af: add WQ_PERCPU to alloc_workqueue users
2026-03-27 18:31 ` Paolo Abeni
@ 2026-03-30 7:47 ` Marco Crivellari
0 siblings, 0 replies; 5+ messages in thread
From: Marco Crivellari @ 2026-03-30 7:47 UTC (permalink / raw)
To: Paolo Abeni
Cc: linux-kernel, linux-media, Tejun Heo, Lai Jiangshan,
Frederic Weisbecker, Sebastian Andrzej Siewior, Michal Hocko,
Sunil Goutham, Linu Cherian, Geetha sowjanya, Jerin Jacob,
hariprasad, Subbaraya Sundeep, Andrew Lunn, David S . Miller,
Eric Dumazet, Jakub Kicinski
On Fri, Mar 27, 2026 at 7:31 PM Paolo Abeni <pabeni@redhat.com> wrote:
> [...]
> I looks like the above patch did not land into the netdev ML. You have
> to resubmit with the correct recipients list and including 'net-next'
> into the subj prefix.
>
Thanks Paolo, I will.
--
Marco Crivellari
L3 Support Engineer
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-03-30 7:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-13 14:12 [PATCH] octeontx2-af: add WQ_PERCPU to alloc_workqueue users Marco Crivellari
2026-02-23 9:34 ` Marco Crivellari
2026-03-27 16:03 ` Marco Crivellari
2026-03-27 18:31 ` Paolo Abeni
2026-03-30 7:47 ` Marco Crivellari
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®