diff options
| author | 2026-05-29 15:06:40 +0200 | |
|---|---|---|
| committer | 2026-05-29 07:56:48 -1000 | |
| commit | 21c05ca88a548ca1353cbef189c97d4f03b90692 (patch) | |
| tree | 244946cf5e312e22d6cec6b1624a98403c8fd2c6 /tools/lib/python/kdoc/python_version.py | |
| parent | workqueue: Add warnings and fallback if system_{unbound}_wq is used (diff) | |
workqueue: Add warnings and ensure one among WQ_PERCPU or WQ_UNBOUND is present
Currently there are no checks in order to enforce the use of one between
WQ_PERCPU or WQ_UNBOUND.
So act as following:
- if neither of them is present, set WQ_PERCPU
- if both are present, remove WQ_PERCPU
Along with this change, WARN_ONCE(), so that the code still uses both or
neither of them, can be changed.
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>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
