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

From: Peter Zijlstra
Date: Wed May 16 2012 - 17:24:28 EST


On Wed, 2012-05-16 at 03:46 +0530, Srivatsa S. Bhat wrote:
>
> However, the cpu_active_mask was introduced to handle situations where hotplug
> transition is still in progress, and the scheduler needs to take appropriate
> decisions even with some of its data-structures in an inconsistent/stale state.
> But once the hotplug operation is completed, the scheduler doesn't need to
> depend on cpu_active_mask.

> (And on those lines, making the scheduler work correctly even in such cases
> is only a good-to-have as a robustness measure and not a "bugfix".)

I think those 2(?) cases you found not covered by active mask could
actually happen during a hotplug. So far they simply haven't.
--
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/