Messages in this thread | | | Date | Tue, 23 May 2017 16:10:29 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH] workqueue: Ensure that cpumask set for pools created after boot |
| |
Hello,
On Tue, May 23, 2017 at 03:09:07PM -0500, Michael Bringmann wrote: > To confirm, you want the WARN_ON(cpumask_any(pool->attrs->cpumask) >= NR_CPUS) > at the point where I place my current patch?
Yeah, cpumask_weight() probably is a bit more intuitive but I'm curious why we're creating workqueues for a node before cpus come online.
Thanks.
-- tejun
| |