[PATCH] MIPS: move __syscall_error into syscall stub
Ulrich Drepper
drepper@redhat.com
Tue Mar 18 01:03:00 GMT 2003
-----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-----
More information about the Libc-alpha
mailing list