This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] MIPS: move __syscall_error into syscall stub


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]