[PATCH 2/2] workqueue:Fix affinity of an unbound worker of a node with 1 online CPU

Peter Zijlstra peterz at infradead.org
Wed Jun 15 23:14:15 AEST 2016


On Wed, Jun 15, 2016 at 06:20:33PM +0530, Gautham R Shenoy wrote:
> We will no longer have the optimization in
> restore_unbound_workers_cpumask() but I suppose we don't lose much by
> resetting the affinity every time a CPU in the pool->attr->cpumask
> comes online.

Right; optimizing hotplug really isn't worth it. The code needs to be
simple and robust (ha! funny).

In any case, Tejun, does this work for you?


More information about the Linuxppc-dev mailing list