From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mga09.intel.com ([134.134.136.24]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1ORNLT-0000Us-J0 for kexec@lists.infradead.org; Wed, 23 Jun 2010 10:38:16 +0000 Message-ID: <4C21E3F8.9000405@linux.intel.com> Date: Wed, 23 Jun 2010 12:37:44 +0200 From: Andi Kleen MIME-Version: 1.0 Subject: Re: [PATCH 31/40] trace syscalls: Convert various generic compat syscalls 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> In-Reply-To: <20100623102931.GB5242@nowhere> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Frederic Weisbecker Cc: Christoph Lameter , WANG Cong , Benjamin Herrenschmidt , 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 , David Rientjes , Ingo Molnar , Arnd Bergmann , 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 , Frederic Weisbecker wrote: > On Wed, Jun 23, 2010 at 12:19:38PM +0200, Andi Kleen wrote: >> , Ian Munsie wrote: >>> From: Ian Munsie >>> >>> This patch converts numerous trivial compat syscalls through the generic >>> kernel code to use the COMPAT_SYSCALL_DEFINE family of macros. >> >> Why? This just makes the code look uglier and the functions harder >> to grep for. > > > Because it makes them usable with syscall tracing. Ok that information is missing in the changelog then. Also I hope the uglification<->usefullness factor is really worth it. The patch is certainly no slouch on the uglification side. It also has maintenance costs, e.g. I doubt ctags and cscope will be able to deal with these kinds of macros, so it has a high cost for everyone using these tools. For those it would be actually better if you used separate annotation that does not confuse standard C parsers. -Andi _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec