diff options
| author | Lai Jiangshan <jiangshan.ljs@antgroup.com> | 2024-03-08 12:42:52 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2024-03-25 22:12:09 +0300 |
| commit | ae1296a7bfe4f8e446677ccb761d9419926557bc (patch) | |
| tree | 33b715cedfe9813f8f9f0e944870df561320c090 /include | |
| parent | e7cc3be6fdb57d98fc399a856fc3b05cce1ca754 (diff) | |
| download | linux-ae1296a7bfe4f8e446677ccb761d9419926557bc.tar.xz | |
workqueue: Move attrs->cpumask out of worker_pool's properties when attrs->affn_strict
Allow more pools can be shared when attrs->affn_strict.
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/workqueue.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 777b0186317e..bfcf8d38f4b1 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -185,6 +185,9 @@ struct workqueue_attrs { * Below fields aren't properties of a worker_pool. They only modify how * :c:func:`apply_workqueue_attrs` select pools and thus don't * participate in pool hash calculations or equality comparisons. + * + * If @affn_strict is set, @cpumask isn't a property of a worker_pool + * either. */ /** |
