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]

PATCH: Add memory barrier to malloc


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.


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]