This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Inefficient ia64 system call implementation in glibc
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>,linux ia64 kernel <linux-ia64 at vger dot kernel dot org>
- Date: Mon, 22 Sep 2003 12:39:18 -0700
- Subject: Re: Inefficient ia64 system call implementation in glibc
- References: <20030919163218.GA21480@lucon.org> <20030921210434.GA2280@twiddle.net>
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.