Re: [PATCH v3 5/5] cpusets, suspend: Save and restore cpusets duringsuspend/resume

From: David Rientjes
Date: Tue May 15 2012 - 17:24:20 EST


On Tue, 15 May 2012, Peter Zijlstra wrote:

> > Why can't we leave cpuset.cpus unaltered for all cpusets during suspend?
>
> We can, that's what Srivatsa is going to make. The only thing I object
> to is the !suspend hotplug case.
>

Srivatsa is going to do that in another patchset in addition to this one?
We shouldn't need to store any old cpumask at all, just allow cpuset.cpus
to be a superset of online cpus during s/r and don't touch cpusets at all
since the cpus, as you said, are guaranteed to come back.
--
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/