The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] workqueue: Make alloc_workqueue() unbound by default
@ 2026-07-09 10:25 Marco Crivellari
  2026-07-09 10:25 ` [PATCH RFC 1/2] workqueue: Make unbound the default alloc_workqueue() behavior Marco Crivellari
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Marco Crivellari @ 2026-07-09 10:25 UTC (permalink / raw)
  To: linux-kernel
  Cc: Tejun Heo, Lai Jiangshan, Frederic Weisbecker,
	Sebastian Andrzej Siewior, Marco Crivellari, Michal Hocko,
	Breno Leitao

Hi,

This is a proposed change about the defualt behavior of alloc_workqueue().
Currently we enforce the use of WQ_PERCPU or WQ_UNBOUND. The pourpose of
this change is make the default behavior unbound so that calling
alloc_workqueue() without WQ_PERCPU results in an unbound workqueue.

After this step it would be possible remove WQ_UNBOUND from every
alloc_workqueue().

I tested the code with a small crafted driver, and to me it looks good.
Do you spot something I'm missed?

Thanks!

Marco Crivellari (2):
  workqueue: Make unbound the default alloc_workqueue() behavior
  docs: workqueue: Update WQ_PERCPU documentation

 Documentation/core-api/workqueue.rst |  3 +-
 include/linux/workqueue.h            |  8 ++--
 kernel/workqueue.c                   | 68 ++++++++++------------------
 3 files changed, 30 insertions(+), 49 deletions(-)

-- 
2.54.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-07-10  7:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-09 10:25 [PATCH RFC 0/2] workqueue: Make alloc_workqueue() unbound by default Marco Crivellari
2026-07-09 10:25 ` [PATCH RFC 1/2] workqueue: Make unbound the default alloc_workqueue() behavior Marco Crivellari
2026-07-09 10:25 ` [PATCH RFC 2/2] docs: workqueue: Update WQ_PERCPU documentation Marco Crivellari
2026-07-09 22:19 ` [PATCH RFC 0/2] workqueue: Make alloc_workqueue() unbound by default Tejun Heo
2026-07-10  7:16   ` Marco Crivellari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox