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] |
On Sat, May 03, 2003 at 12:56:43PM -0700, H. J. Lu wrote: > 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. > I should have waited a while. MEMORY_BARRIER is not available in nptl. I am not sure where to define it. I defined it for ia64 in nptl. I think we should move it from linuxthreads to libc so that we don't need to do it in nptl. 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] |