Re: [PATCH] workqueue: Simplify pool_allowed_cpus()

From: Tejun Heo
Date: Thu Jul 11 2024 - 13:21:13 EST


On Thu, Jul 11, 2024 at 04:38:31PM +0800, Lai Jiangshan wrote:
> From: Lai Jiangshan <jiangshan.ljs@xxxxxxxxxxxx>
>
> For cpu worker pools, attrs->affn_strict is true; attrs->__pod_cpumask
> and attrs->cpumask are the same. Skip the pool->cpu test
> in pool_allowed_cpus() and use pool->attrs->__pod_cpumask.
>
> Signed-off-by: Lai Jiangshan <jiangshan.ljs@xxxxxxxxxxxx>

Applied to wq/for-6.11.

Thanks.

--
tejun