mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
workqueue: implicit ordered attribute should be overridable
5c0338c687("workqueue: restore WQ_UNBOUND/max_active==1 to be ordered") automatically enabled ordered attribute for unbound workqueues w/ max_active == 1. Because ordered workqueues reject max_active and some attribute changes, this implicit ordered mode broke cases where the user creates an unbound workqueue w/ max_active == 1 and later explicitly changes the related attributes. This patch distinguishes explicit and implicit ordered setting and overrides from attribute changes if implict. Signed-off-by: Tejun Heo <tj@kernel.org> Fixes:5c0338c687("workqueue: restore WQ_UNBOUND/max_active==1 to be ordered")
This commit is contained in:
parent
5c0338c687
commit
0a94efb5ac
2 changed files with 12 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue