Re: [PATCH v2] CPU hotplug, freezer: Fix bugs in CPU hotplug callpath

From: Peter Zijlstra
Date: Mon Oct 10 2011 - 06:43:06 EST


On Sat, 2011-10-08 at 02:26 +0530, Srivatsa S. Bhat wrote:
>
> So, we should mutually exclude cpu hotplugging and freezing/thawing to
> ensure that during the entire duration that the callbacks for the notified
> event are running, the state introduced by that event holds good.

Yes we should, but I'd rather see that done on a more fundamental level,
and not frob yet another mutex in the already complex hotplug system.



--
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/