[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <X9oerhmw7/qWWczn@mtj.duckdns.org>
Date: Wed, 16 Dec 2020 09:50:22 -0500
From: Tejun Heo <tj@...nel.org>
To: Lai Jiangshan <jiangshanlai@...il.com>
Cc: linux-kernel@...r.kernel.org,
Lai Jiangshan <laijs@...ux.alibaba.com>,
Peter Zijlstra <peterz@...radead.org>,
Valentin Schneider <valentin.schneider@....com>,
Daniel Bristot de Oliveira <bristot@...hat.com>
Subject: Re: [PATCH 07/10] workqueue: Manually break affinity on hotplug for
unbound pool
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
> - * online CPU before, cpus_allowed of all its workers should be restored.
> + * CPUs. We have to reset workers' cpus_allowed of such pool. And we
> + * restore the workers' cpus_allowed when the pool's cpumask has online
> + * CPU at the first time after reset.
^
for the first time
--
tejun
Powered by blists - more mailing lists