This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Generic function descriptor without lock
- 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, 01 May 2003 19:41:59 -0700
- Subject: Re: PATCH: Generic function descriptor without lock
- Organization: Red Hat, Inc.
- References: <20030407100808.A471@lucon.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
H. J. Lu wrote:
> This patch implements generic function descriptor without lock. It
> works on my ia64 UP machine.
I've applied the patch now. There was one little race condition left
(if a new fdesc table was created, the first element was unconditionally
used) and I've changed the make_fdesc to never return a NULL pointer.
This really isn't necessary, the following cmpxchg will catch that case.
Thanks,
- --
- --------------. ,-. 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+sdr32ijCOnn/RHQRAvo6AJ9YanyZWWdJZXenhkPjrThPAN7X8ACfVwkp
ZsX2x1wQUSUvi6CPQyIfmbo=
=0CpZ
-----END PGP SIGNATURE-----