PATCH: Add memory barrier to malloc

Ulrich Drepper drepper@redhat.com
Sat May 3 22:06:00 GMT 2003


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

H. J. Lu wrote:

> Are you proposing to remove locks from malloc or just use compare/swap
> with locks? Removing locks sounds a good idea if it is feasible.

I means that there are memory barrier macros in atomic.h.

- -- 
- --------------.                        ,-.            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+tD0k2ijCOnn/RHQRAqVFAKC2vct907AkmNojM7B3oLxdrXM3WACfVKqx
qQSd3U3VBSDkanqtJOyHqz0=
=RphO
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list