diff options
author | Andreas Schwab <schwab@suse.de> | 2016-01-13 16:04:42 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2016-01-25 16:26:07 +0100 |
commit | 5aded6f2abbe19bc77e563b7db10aa9dd037a90d (patch) | |
tree | c0ef8f09db876a88ea8c29e29c6655d1c50f4f7d /ChangeLog | |
parent | 9200e581e500b6c8ad52733f9c0ac3efc8d4b4b9 (diff) | |
download | glibc-5aded6f2abbe19bc77e563b7db10aa9dd037a90d.tar glibc-5aded6f2abbe19bc77e563b7db10aa9dd037a90d.tar.gz glibc-5aded6f2abbe19bc77e563b7db10aa9dd037a90d.tar.bz2 glibc-5aded6f2abbe19bc77e563b7db10aa9dd037a90d.zip |
Don't do lock elision on an error checking mutex (bug 17514)
Error checking mutexes are not supposed to be subject to lock elision.
That would defeat the error checking nature of the mutex because lock
elision doesn't record ownership.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2016-01-25 Andreas Schwab <schwab@suse.de> + + [BZ #17514] + * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock) + <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision. + * nptl/Makefile (tests): Add tst-mutex-errorcheck. + * nptl/tst-mutex-errorcheck.c: New file. + 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com> [BZ #18560] @@ -24,8 +32,10 @@ 2016-01-24 David S. Miller <davem@davemloft.net> * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file. - * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove alias. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add __sqrtl_finite. + * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove + alias. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add + __sqrtl_finite. * sysdeps/sparc/fpu/libm-test-ulps: Update. |