Inefficient ia64 system call implementation in glibc

H. J. Lu hjl@lucon.org
Mon Sep 22 19:39:00 GMT 2003


On Sun, Sep 21, 2003 at 02:04:34PM -0700, Richard Henderson wrote:
> On Fri, Sep 19, 2003 at 09:32:18AM -0700, H. J. Lu wrote:
> > The basically problem is glibc doesn't store information about what
> > the kernel interface is so that it can't efficiently set up parameters
> > for system calls. Is there a way to improve the situation?
> 
> Use __typeof instead of hard-coding long in the LOAD_ARGS macros.
> That's where the extension comes from.

How can I make __typeof to work with

	char buf [300];

	INLINE_SYSCALL (read, 3, fd, buf, sizeof buf);

Can I get char * from char [300]?


H.J.



More information about the Libc-alpha mailing list