[PATCH 0/2] Fix pthread_spin_lock for sparc32 and 64
Guo Yixuan
culu.gyx@gmail.com
Fri May 23 15:17:00 GMT 2014
From: GUO Yixuan <culu.gyx@gmail.com>
Hello,
I recently looked in to a test failure in kyotocabinet[1], and
found that is caused by a bug in pthread_spin_lock.
[1] https://buildd.debian.org/status/package.php?p=kyotocabinet&suite=sid
I wrote this patch according to a5b's description[2], and added
a new regression test. I've tested it for sparc32 and sparc64,
and the kyotocabinet test failure can also be solved.
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=16882
Regards,
Guo Yixuan (2):
Fixed pthread_spin_lock on sparc32/64 (bug 16882)
New test for pthread_spin_lock (bug 16882)
nptl/Makefile | 2 +-
nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S | 4 +-
nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S | 4 +-
nptl/tst-spin4.c | 109 +++++++++++++++++++++++++
4 files changed, 114 insertions(+), 5 deletions(-)
create mode 100644 nptl/tst-spin4.c
--
2.0.0.rc2
More information about the Libc-alpha
mailing list