From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Wed, 23 Jun 2010 08:41:07 -0400 From: Christoph Hellwig Subject: Re: [PATCH 31/40] trace syscalls: Convert various generic compat syscalls Message-ID: <20100623124106.GA13200@infradead.org> References: <1277287401-28571-1-git-send-email-imunsie@au1.ibm.com> <1277287401-28571-32-git-send-email-imunsie@au1.ibm.com> <4C21DFBA.2070202@linux.intel.com> <20100623102931.GB5242@nowhere> <4C21E3F8.9000405@linux.intel.com> <20100623113806.GD5242@nowhere> <4C21FF9A.2040207@linux.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4C21FF9A.2040207@linux.intel.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Andi Kleen Cc: Christoph Lameter , WANG Cong , Frederic Weisbecker , Heiko Carstens , Oleg Nesterov , David Howells , linuxppc-dev@ozlabs.org, Paul Mackerras , "H. Peter Anvin" , Sam Ravnborg , Mike Frysinger , Eric Dumazet , Jeff Moyer , Ingo Molnar , KOSAKI Motohiro , Benjamin Herrenschmidt , Ingo Molnar , Arnd Bergmann , David Rientjes , Steven Rostedt , Michael Ellerman , Ian Munsie , Thomas Gleixner , Johannes Berg , Roland McGrath , Dinakar Guniguntala , Lee Schermerhorn , Arnaldo Carvalho de Melo , Neil Horman , linux-mm@kvack.org, netdev@vger.kernel.org, Jason Baron , Greg Kroah-Hartman , Roel Kluin , linux-kernel@vger.kernel.org, kexec@lists.infradead.org, Eric Biederman , linux-fsdevel@vger.kernel.org, Simon Kagstrom , Andrew Morton , "David S. Miller" , Alexander Viro On Wed, Jun 23, 2010 at 02:35:38PM +0200, Andi Kleen wrote: > >I haven't heard any complains about existing syscalls wrappers. > > At least for me they always interrupt my grepping. > > > > >What kind of annotations could solve that? > > If you put the annotation in a separate macro and leave the original > prototype alone. Then C parsers could still parse it. I personally hate the way SYSCALL_DEFINE works with passion, mostly for the grep reason, but also because it looks horribly ugly. But there is no reason not to be consistent here. We already use the wrappers for all native system calls, so leaving the compat calls out doesn't make any sense. And I'd cheer for anyone who comes up with a better scheme for the native and compat wrappers. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec