This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
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 Mon, Jul 23, 2007 at 09:10:27AM -0700, Ulrich Drepper wrote:Ya, I was looking at the x86_64 code which did seem incomplete to me. So I tried to go one step better for PPC.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Applied.
Unfortunately that patch contains several important bugs:
1) lll_futex_wait etc. had only correct definition when
__ASSUME_PRIVATE_FUTEX, when that is not true, it would
call futex syscall with bit 7 set even when libpthread.so
init determined it is not supported
2) lll_private_futex_wait etc. macros were shared when
not __ASSUME_PRIVATE_FUTEX
3) FUTEX_WAKE_OP had the wake operation argument also ored
with 128 in some cases
Here is how it IMHO should look like (built and tested on ppc64-linux,
unfortunately not wiht a 2.6.23ish kernel).
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |