This is the mail archive of the libc-alpha@sourceware.org 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 siddhesh/wait_bitset] Use FUTEX_WAIT_BITSET forpthread_cond_timedwait for non-x86: ppc, s390


Ryan, Andreas,

Did you guys get a chance to look at the ppc and s390 changes in this:

http://sourceware.org/ml/libc-alpha/2012-10/msg00571.html

with a minor (non arch-specific) fix here:

http://sourceware.org/ml/libc-alpha/2012-10/msg00758.html

It's all there in the siddhesh/wait_bitset branch.

Thanks,
Siddhesh

On Fri, 26 Oct 2012 15:49:11 +0530, Siddhesh wrote:

> Hi,
> 
> Sorry, there was a bug in my patch in the clockbit condition that I
> had fixed during testing but forgot to bring back into the patch
> during submission.  Here's an updated patch in which everything else
> is the same except for the flipped condition for clockbit.  Verified
> once again on powerpc and s390.
> 
> Also coming up shortly is another patch with a similar change for
> pthread_rwlock_timed*lock and __lll_robust_timedlock_wait.
> 
> Regards,
> Siddhesh
> 
> nptl/ChangeLog:
> 
> 	* pthread_cond_timedwait.c (__pthread_cond_timedwait): Time
> out if absolute timeout is negative.
> 	[__ASSUME_FUTEX_CLOCK_REALTIME &&
> 	lll_futex_timed_wait_bitset]: Use lll_futex_timed_wait_bitset.
> 	* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
> 	(lll_futex_timed_wait_bitset): New macro.
> 	* sysdeps/unix/sysv/linux/s390/lowlevellock.h
> 	(lll_futex_timed_wait_bitset): Likewise.


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