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

Christoph Lameter
2007-10-27T17:47:30Z

On Sat, 27 Oct 2007, Paul Jackson wrote:

> > Tough. The API needs to remain stable.
>
> Good - that I understand. Your position is clear now.
>
> You have chosen (1) above, which keeps Choice A as the default.

There can be different defaults for the user space API via libnuma that
are indepdent from the kernel API which needs to remain stable. The kernel
API can be extended but not changed.

> > Hmmm.. The alternative is to add new set/get mempolicy functions.
>
> Other alternatives include a per-system, per-cpuset or per-process
> flag, in addition to the per-system call flag you suggested earlier
> (MPOL_MF_RELATIVE), or whatever you mean by "new set/get mempolicy
> functions" ... could you elaborate on that one?

None of those sound appealing. Multiple processes may run in one cpuset.
Some of those may be linked to older libnumas and therefore depend on old
behavior.