This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/2] Fix pthread_spin_lock for sparc32 and 64
- From: Guo Yixuan <culu dot gyx at gmail dot com>
- To: libc-alpha at sourceware dot org
- Cc: GUO Yixuan <culu dot gyx at gmail dot com>
- Date: Fri, 23 May 2014 11:07:09 -0400
- Subject: [PATCH 0/2] Fix pthread_spin_lock for sparc32 and 64
- Authentication-results: sourceware.org; auth=none
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