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: Generic function descriptor


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

H. J. Lu wrote:
> Both ia64 and hppa use function descriptor. They can share the same
> code. I updated my old patch against today's CVS. It works find on ia64.

If you want to work on this then do it right.  The current ia64 code is
nothing but a stop-gap solution.  It is sow and hideous.

A correct implementation should at the very least uses futexes when
available.  Much better is a lockless implementation.  The general
lookup code is thread- and signal-safe.  It's only the descriptor
handling which has problems.  One possibility is to in principal emulate
load lock/storage conditional (ia64 has now a cmp8xchg16 instruction).

- -- 
- --------------.                        ,-.            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+jKzk2ijCOnn/RHQRAnPJAJsEZKGreHpN6rheooWcIJ9nZIieKACcCiLr
B865oxe+RLrCUBL4xEQvIiw=
=Db/O
-----END PGP SIGNATURE-----


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