Re: [patch 2/2] cpusets: add interleave_over_allowed option

David Rientjes
2007-10-26T21:16:28Z

On Fri, 26 Oct 2007, Christoph Lameter wrote:

> We would need two fields in the policy structure
>
> 1. The specified nodemask (generally ignored)
>

What I've called pol->passed_nodemask.

> 2. The effective nodemask (specified & cpuset_mems_allowed)
>

Which is pol->v.nodes.

> If we have these two then its easy to get a bit further by making
> the first nodemask a relative nodemask. The calculation of the effective
> nodemask changes somewhat but the logic is then applicable to MPOL_BIND as
> well.
>

Agreed.