Re: [PATCHSET] workqueue: reimplement CPU hotplug to keep idleworkers

From: Peter Zijlstra
Date: Fri Jul 20 2012 - 11:48:40 EST


On Tue, 2012-07-17 at 10:12 -0700, Tejun Heo wrote:
> While this makes rebinding somewhat more complicated, as it has to be
> able to rebind idle workers too, it allows overall hotplug path to be
> much simpler.

I really don't see the point of re-binding.. at that point you've well
and proper violated any per-cpu expectation, so why not complete running
the works on the disassociated thing and let new works accrue on the
per-cpu things again?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/