This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] MIPS: move __syscall_error into syscall stub
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Guido Guenther <agx at sigxcpu dot org>
- Cc: libc-alpha at sources dot redhat dot com, ralf at gnu dot org
- Date: Mon, 17 Mar 2003 17:03:12 -0800
- Subject: Re: [PATCH] MIPS: move __syscall_error into syscall stub
- Organization: Red Hat, Inc.
- References: <20030318004742.GZ2613@bogon.ms20.nix>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Guido Guenther wrote:
> Hi,
> the attached patch moves the __syscall_error code on linux mips for the
> __PIC__ case right behind the syscall stub itself saving the overhead of
> jumping to __syscall_error (with all the .cpload, etc.) and also making
> it unnecessary to pull in sysdep.S in linuxthreads (but enlarging glibc
> by about +8k). Is this optimation worthwhile?
I'd say no. First, icache misses are expensive and you'd increase the
probability. Second, mips processors are used on systems where memory
usage is a key concern.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+dnBQ2ijCOnn/RHQRAqQlAJ9qBQvc+JnkYWYIvHVkXKk2FmDe4gCePYSI
or7wawtqqYPpB2K+ojPBVXQ=
=D4sX
-----END PGP SIGNATURE-----