public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug nptl/24774] pthread_rwlock_timedwrlock stalls on ARM Date: Wed, 08 Sep 2021 06:19:54 +0000 [thread overview] Message-ID: <bug-24774-131-usdOoDdOxl@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-24774-131@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=24774 --- Comment #4 from Florian Weimer <fweimer at redhat dot com> --- This looks like a bug in our atomics, as reported here: Glibc pthread_rwlock_timed*() Optimization Bug https://sourceware.org/pipermail/libc-help/2021-September/006004.html include/atomic.h has: # ifndef atomic_load_relaxed # define atomic_load_relaxed(mem) \ ({ __typeof ((__typeof (*(mem))) *(mem)) __atg100_val; \ __asm ("" : "=r" (__atg100_val) : "0" (*(mem))); \ __atg100_val; }) # endif The expression *(mem) does not necessary read from the memory location. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2021-09-08 6:19 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-24774-131@http.sourceware.org/bugzilla/> 2021-04-21 18:26 ` cvs-commit at gcc dot gnu.org 2021-07-28 17:26 ` florian at openwrt dot org 2021-09-08 6:14 ` fweimer at redhat dot com 2021-09-08 6:19 ` fweimer at redhat dot com [this message] 2021-09-08 13:15 ` adhemerval.zanella at linaro dot org 2022-10-07 20:34 ` adhemerval.zanella at linaro dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-24774-131-usdOoDdOxl@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).