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

Christoph Lameter
2007-10-26T21:37:50Z

On Fri, 26 Oct 2007, Lee Schermerhorn wrote:

> > > Now, if we could replace the 'cpuset_mems_allowed' nodemask with a
> > > pointer to something stable, it might be a win.
> >
> > The memory policies are already shared and have refcounters for that
> > purpose.
>
> I must have missed that in the code I'm reading :)

What is the benefit of having pointers to nodemasks? We likely would need
to have refcounts in those nodemasks too? So we duplicate a lot of
the characteristics of memory policies?