Re: [PATCH 31/40] trace syscalls: Convert various generic compat syscalls
From: Andi Kleen <hidden>
Date: 2010-06-23 10:37:44
Also in:
kexec, linux-fsdevel, linux-mm, linuxppc-dev
From: Andi Kleen <hidden>
Date: 2010-06-23 10:37:44
Also in:
kexec, linux-fsdevel, linux-mm, linuxppc-dev
, Frederic Weisbecker wrote:
On Wed, Jun 23, 2010 at 12:19:38PM +0200, Andi Kleen wrote:quoted
, Ian Munsie wrote:quoted
From: Ian Munsie<redacted> 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>