aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/core-api
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2025-06-17 08:52:50 -1000
committerTejun Heo <tj@kernel.org>2025-06-17 08:52:50 -1000
commitf11113d01306b2d9cec0934f606d1b81b94260c5 (patch)
tree3698b34d76981de9121707885a38a4fe8cbc32e6 /Documentation/core-api
parentworkqueue: Basic memory allocation profiling support (diff)
parentworkqueue: Add new WQ_PERCPU flag (diff)
downloadlinux-f11113d01306b2d9cec0934f606d1b81b94260c5.tar.gz
linux-f11113d01306b2d9cec0934f606d1b81b94260c5.zip
Merge branch 'WQ_PERCPU' into for-6.17
Diffstat (limited to 'Documentation/core-api')
-rw-r--r--Documentation/core-api/workqueue.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/core-api/workqueue.rst b/Documentation/core-api/workqueue.rst
index e295835fc116..165ca73e8351 100644
--- a/Documentation/core-api/workqueue.rst
+++ b/Documentation/core-api/workqueue.rst
@@ -183,6 +183,12 @@ resources, scheduled and executed.
BH work items cannot sleep. All other features such as delayed queueing,
flushing and canceling are supported.
+``WQ_PERCPU``
+ Work items queued to a per-cpu wq are bound to a specific CPU.
+ This flag is the right choice when cpu locality is important.
+
+ This flag is the complement of ``WQ_UNBOUND``.
+
``WQ_UNBOUND``
Work items queued to an unbound wq are served by the special
worker-pools which host workers which are not bound to any