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: Add memory barrier to malloc


On Sat, May 03, 2003 at 10:40:37AM -0700, H. J. Lu wrote:
> We got corrupted linked list in malloc due to memory ordering issues
> on our ia64 MP machine. This URL
> 
> http://lse.sourceforge.net/locking/wmbdd.html
> 
> has some relevant info. We need to make memory barrier available
> to the whole glibc, even user application source codes. This patch
> adds memory-barrier.h to glibc internal headers and adds one memory
> barrier to malloc.
> 

I added nptl and fixed a typo.


H.J.

Attachment: libc-mb.patch
Description: Text document


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