Re: [PATCH 07/10] workqueue: Manually break affinity on hotplug for unbound pool

2020-12-16 Thread Tejun Heo
On Mon, Dec 14, 2020 at 11:54:54PM +0800, Lai Jiangshan wrote: > * An unbound pool may end up with a cpumask which doesn't have any online > - * CPUs. When a worker of such pool get scheduled, the scheduler resets > - * its cpus_allowed. If @cpu is in @pool's cpumask which didn't have any > - *

[PATCH 07/10] workqueue: Manually break affinity on hotplug for unbound pool

2020-12-14 Thread Lai Jiangshan
From: Lai Jiangshan When all of the CPUs of the unbound pool go down, the scheduler will break affinity on the workers for us. We can do it by our own and don't rely on the scheduler to force break affinity for us. Fixes: 06249738a41a ("workqueue: Manually break affinity on hotplug") Signed-off