lkml.org 
[lkml]   [1999]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.30pre1 syscall w/6 args support?


On 7 Dec 1999, Ulrich Drepper wrote:
>
> First, it's easy enough to recompile glibc if there is a new calling
> convention. One only has to change one definition in the sources and
> recompile.

Wrong.

Anybody who thinks that having two different libc's on different machines
is acceptable is so out of touch with reality that it is scary.

> And second, mentioning the sources, take a look at
> sysdeps/unix/sysv/linux/i386/sysdep.h. The macros to create the
> syscall code goes to great length to generate optimal code. I.e., no
> additional arguments pushed etc.

Look at the example. It doesn't push any additional arguments either. It
may _read_ arguments that aren't there, but the overhead of that is about
a cycle.

Linus


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

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.078 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site