From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754144Ab2A0TlE (ORCPT ); Fri, 27 Jan 2012 14:41:04 -0500 Received: from one.firstfloor.org ([213.235.205.2]:38604 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753778Ab2A0TlD (ORCPT ); Fri, 27 Jan 2012 14:41:03 -0500 Date: Fri, 27 Jan 2012 20:40:58 +0100 From: Andi Kleen To: Cyrill Gorcunov Cc: Andi Kleen , LKML , Andrew Morton , "Eric W. Biederman" , Pavel Emelyanov , KOSAKI Motohiro , Pavel Emelyanov , Andrey Vagin , KOSAKI Motohiro , Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , Glauber Costa , Tejun Heo , Matt Helsley , Pekka Enberg , Eric Dumazet , Vasiliy Kulikov , Alexey Dobriyan , Valdis.Kletnieks@vt.edu Subject: Re: [RFC c/r 2/4] [RFC] syscalls, x86: Add __NR_kcmp syscall v7 Message-ID: <20120127194058.GF11715@one.firstfloor.org> References: <20120127175342.273260614@openvz.org> <20120127175939.795551339@openvz.org> <20120127181525.GD11715@one.firstfloor.org> <20120127182403.GG11086@moon> <20120127183155.GE11715@one.firstfloor.org> <20120127184005.GH11086@moon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120127184005.GH11086@moon> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > 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@linux.intel.com -- Speaking for myself only.