Re: [RFC c/r 2/4] [RFC] syscalls, x86: Add __NR_kcmp syscall v7

From: Andi Kleen
Date: Fri Jan 27 2012 - 14:41:03 EST


> > The basic problem is if this interface is at the right level of abstraction.
> > I have some doubts on that. It seems like a long term maintenance nightmare to
> > me. It may be better to put the loop that would call this into the kernel.
> >
>
> Hmm, ie selftest right in kenel?

Not testing, but more the general stability of the interface. IMHO it exposes
too many kernel internals. I know they are already exposed by clone/unshare,
but in those nothing breaks if the user program doesn't know about some new
flags. But this looks like the user always has to be updated for every change.
I think I would prefer if more of the user was in kernel to not expose
that much.


-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/