Re: [RFC] cpuset relative memory policies - second choice

From: Christoph Lameter
Date: Thu Nov 01 2007 - 13:44:54 EST


On Thu, 1 Nov 2007, Paul Jackson wrote:

> Christoph wrote:
> > The library interface can set flags to modify behavior.
>
> A library such as libnuma can set them, yes, but not everyone uses
> libnuma. Basically everyone uses the standard C library, glibc, which
> has the system call wrappers, but these wrappers should not be setting
> optional flags.
>
> We're going around in circles here, Christoph.

Yes and you keep missing the point focusing on stuff that is not relevant.
Where did you get the rule that libraries should not be setting flags?
libraries do all sort of conversion before calling the kernel API.

Look the libraries are a strong argument against the method of setting
task flags. If you are using multiple libraries some of which have been
updated and some of those which have not then setting a task flag can
have bad consequences. You want clean syscall behavior.
-
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/