From: "Remy Bohmer" <l.pinguin@gmail.com>
To: linux-arm-kernel@lists.arm.linux.org.uk, linux-kernel@vger.kernel.org
Cc: andrew@sanpeople.com, "Ingo Molnar" <mingo@elte.hu>,
"Daniel Walker" <dwalker@mvista.com>
Subject: Userland PI-futex does not work on ARM (2.6.21.5-rt18)
Date: Tue, 3 Jul 2007 21:01:50 +0200 [thread overview]
Message-ID: <3efb10970707031201y7b7eefd3x60136770fcd167fa@mail.gmail.com> (raw)
Hello All,
I am using the 2.6.21.5-rt18 kernel on the ARM core Atmel at91rm9200
together with a Glibc 2.5+GCC4.2.0 toolchain, and I found out that the
userland PI futexes (configured with PTHREAD_PRIO_INHERIT) do not
work.
What happens is:
* Thread A claims the mutex, and gets the lock.
* Thread B claims the mutex, and *also* gets the lock. (this is
obviously already wrong)
* Thread A wants to release the mutex and that fails because it does
not own it...
It looks like mutexes configured *without* PTHREAD_PRIO_INHERIT seem
to work fine, but have not tested that thouroughly.
Is this problem already known, or am I the first person running into it?
Kind Regards,
Remy Böhmer
reply other threads:[~2007-07-03 19:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3efb10970707031201y7b7eefd3x60136770fcd167fa@mail.gmail.com \
--to=l.pinguin@gmail.com \
--cc=andrew@sanpeople.com \
--cc=dwalker@mvista.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@bohmer.net \
--cc=mingo@elte.hu \
/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: link
Be 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
all inboxes | Powered by JetHome®