diff options
| author | Marco Crivellari <marco.crivellari@suse.com> | 2026-05-29 15:06:40 +0200 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-05-29 07:56:48 -1000 |
| commit | 21c05ca88a548ca1353cbef189c97d4f03b90692 (patch) | |
| tree | 244946cf5e312e22d6cec6b1624a98403c8fd2c6 /include/linux | |
| parent | 64d8eae3f89583821f599c0aa398dd2e69b31a89 (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 'include/linux')
0 files changed, 0 insertions, 0 deletions
