Re: [PATCH] workqueue: Fix pool->nr_running type back to atomic

From: Tejun Heo
Date: Tue Feb 06 2024 - 22:13:25 EST


Hello,

On Wed, Feb 07, 2024 at 10:06:56AM +0800, yunlong xing wrote:
> Yes, WARN_ON is triggered. The reason of set_cpus_allowed_ptr() fail still
> needs to be further investigated.

I see. Please include context like the above when posting patches.

> I was originally planning to inquire workqueue whether or not allows the worker
> that associated with one cpu running on the other cpus?From your reply,the
> answer of my question is not allow,right?

Yes, you're right. set_cpus_allowed_ptr() shouldn't fail.

Thanks.

--
tejun