This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH siddhesh/wait_bitset] Use FUTEX_WAIT_BITSET forpthread_cond_timedwait for non-x86: ppc, s390
On Mon, 5 Nov 2012 16:25:54 +0000, Joseph wrote:
> On Mon, 5 Nov 2012, Siddhesh Poyarekar wrote:
>
> > Thanks, I have now pushed the changes into master.
>
> Might this require port changes to their versions of lowlevellock.h?
> If so, you need to send a message to libc-ports with details of what
> changes would be needed and how to tell whether your port needs
> changes.
Thanks, I was just about to write it - should be done in a minute.
> Also, should there be a corresponding SPARC change, or is SPARC for
> some reason unaffected by this issue?
All non-x86 architectures would benefit from this change. It's not a
bug, so if an arch does not have lll_futex_timed_wait_bitset defined,
it will simply use the older futex_timedwait method and be a wee bit
slower.
Siddhesh