summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarco Crivellari <marco.crivellari@suse.com>2026-05-29 16:06:40 +0300
committerTejun Heo <tj@kernel.org>2026-05-29 20:56:48 +0300
commit21c05ca88a548ca1353cbef189c97d4f03b90692 (patch)
tree244946cf5e312e22d6cec6b1624a98403c8fd2c6 /include
parent64d8eae3f89583821f599c0aa398dd2e69b31a89 (diff)
downloadlinux-21c05ca88a548ca1353cbef189c97d4f03b90692.tar.xz
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')
0 files changed, 0 insertions, 0 deletions