Thread (13 messages) 13 messages, 7 authors, 2010-06-24

Re: [PATCH 31/40] trace syscalls: Convert various generic compat syscalls

From: Christoph Hellwig <hch@infradead.org>
Date: 2010-06-23 12:41:07
Also in: kexec, linux-fsdevel, linux-mm, linuxppc-dev

On Wed, Jun 23, 2010 at 02:35:38PM +0200, Andi Kleen wrote:
quoted
I haven't heard any complains about existing syscalls wrappers.
At least for me they always interrupt my grepping.
quoted
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.

--
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help