This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Generic function descriptor
- From: Ulrich Drepper <drepper at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Thu, 03 Apr 2003 13:51:32 -0800
- Subject: Re: PATCH: Generic function descriptor
- Organization: Red Hat, Inc.
- References: <20030403132429.A15233@lucon.org>
-----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-----