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


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


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