We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3bc1e71 + aac8a59 commit 40911d4Copy full SHA for 40911d4
kernel/workqueue.c
@@ -6489,13 +6489,9 @@ static int workqueue_apply_unbound_cpumask(const cpumask_var_t unbound_cpumask)
6489
list_for_each_entry(wq, &workqueues, list) {
6490
if (!(wq->flags & WQ_UNBOUND) || (wq->flags & __WQ_DESTROYING))
6491
continue;
6492
-
6493
/* creating multiple pwqs breaks ordering guarantee */
6494
- if (!list_empty(&wq->pwqs)) {
6495
- if (wq->flags & __WQ_ORDERED_EXPLICIT)
6496
- continue;
6497
- wq->flags &= ~__WQ_ORDERED;
6498
- }
+ if (wq->flags & __WQ_ORDERED)
+ continue;
6499
6500
ctx = apply_wqattrs_prepare(wq, wq->unbound_attrs, unbound_cpumask);
6501
if (IS_ERR(ctx)) {
0 commit comments