lkml.org 
[lkml]   [2020]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2020-12-16 15:53    [W:0.200 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site