Re: [PATCH 4/7] Remove the use of _syscallX macros in UML

From: H. Peter Anvin
Date: Wed Aug 30 2006 - 01:40:21 EST


Arnd Bergmann wrote:
User mode linux uses _syscallX() to call into the host kernel.
The recommended way to do this is to use the syscall() function
from libc.

Not really.

syscall() is a horrible botch; it is in fact unimplementable (without enormous switch statements) on a number of architectures.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/