Unverified Commit 597258b1 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3263 workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()

parents 1ec15964 5d8e3f61
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -5293,8 +5293,11 @@ static int workqueue_apply_unbound_cpumask(void)
		if (!(wq->flags & WQ_UNBOUND))
			continue;
		/* creating multiple pwqs breaks ordering guarantee */
		if ((wq->flags & __WQ_ORDERED) && !(wq->flags & __WQ_DYNAMIC))
		if (!list_empty(&wq->pwqs)) {
			if ((wq->flags & __WQ_ORDERED_EXPLICIT) && !(wq->flags & __WQ_DYNAMIC))
				continue;
			wq->flags &= ~__WQ_ORDERED;
		}

		ctx = apply_wqattrs_prepare(wq, wq->unbound_attrs);
		if (!ctx) {