diff options
| author | Tejun Heo <tj@kernel.org> | 2025-06-17 21:52:50 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2025-06-17 21:52:50 +0300 |
| commit | f11113d01306b2d9cec0934f606d1b81b94260c5 (patch) | |
| tree | 3698b34d76981de9121707885a38a4fe8cbc32e6 /include/linux/workqueue.h | |
| parent | fda6add9243867486f8cd456d7b05395d2132e0a (diff) | |
| parent | 930c2ea566aff59e962c50b2421d5fcc3b98b8be (diff) | |
| download | linux-f11113d01306b2d9cec0934f606d1b81b94260c5.tar.xz | |
Merge branch 'WQ_PERCPU' into for-6.17
Diffstat (limited to 'include/linux/workqueue.h')
| -rw-r--r-- | include/linux/workqueue.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index e907c9bb840c..83d158bb2791 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -402,6 +402,7 @@ enum wq_flags { * http://thread.gmane.org/gmane.linux.kernel/1480396 */ WQ_POWER_EFFICIENT = 1 << 7, + WQ_PERCPU = 1 << 8, /* bound to a specific cpu */ __WQ_DESTROYING = 1 << 15, /* internal: workqueue is destroying */ __WQ_DRAINING = 1 << 16, /* internal: workqueue is draining */ @@ -428,7 +429,7 @@ enum wq_consts { /* * System-wide workqueues which are always present. * - * system_wq is the one used by schedule[_delayed]_work[_on](). + * system_percpu_wq is the one used by schedule[_delayed]_work[_on](). * Multi-CPU multi-threaded. There are users which expect relatively * short queue flush time. Don't queue works which can run for too * long. @@ -439,7 +440,7 @@ enum wq_consts { * system_long_wq is similar to system_wq but may host long running * works. Queue flushing might take relatively long. * - * system_unbound_wq is unbound workqueue. Workers are not bound to + * system_dfl_wq is unbound workqueue. Workers are not bound to * any specific CPU, not concurrency managed, and all queued works are * executed immediately as long as max_active limit is not reached and * resources are available. @@ -456,10 +457,12 @@ enum wq_consts { * system_bh[_highpri]_wq are convenience interface to softirq. BH work items * are executed in the queueing CPU's BH context in the queueing order. */ -extern struct workqueue_struct *system_wq; +extern struct workqueue_struct *system_wq; /* use system_percpu_wq, this will be removed */ +extern struct workqueue_struct *system_percpu_wq; extern struct workqueue_struct *system_highpri_wq; extern struct workqueue_struct *system_long_wq; extern struct workqueue_struct *system_unbound_wq; +extern struct workqueue_struct *system_dfl_wq; extern struct workqueue_struct *system_freezable_wq; extern struct workqueue_struct *system_power_efficient_wq; extern struct workqueue_struct *system_freezable_power_efficient_wq; |
