Re: [PATCH 2/2] workqueue: cleancode in alloc_and_link_pwqs()
From: Tejun Heo
Date: Fri Jun 07 2024 - 12:27:01 EST
On Thu, Jun 06, 2024 at 04:52:16PM +0800, Wenchao Hao wrote:
> wq->flags would not change, so it's not necessary to check if WQ_BH
> is set in loop for_each_possible_cpu(), move define and set of pools
> out of loop to simpliy the code.
>
> Signed-off-by: Wenchao Hao <haowenchao22@xxxxxxxxx>
Applied to wq/for-6.11.
Thanks.
--
tejun