From: Richard Henderson <rth@twiddle.net>
To: Matt Turner <mattst88@gmail.com>
Cc: linux-kernel@vger.kernel.org,
Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
Jay Estabrook <jay.estabrook@hp.com>
Subject: Re: questions about native alpha futex implementation
Date: Wed, 17 Dec 2008 13:46:18 -0800 [thread overview]
Message-ID: <4949732A.4050207@twiddle.net> (raw)
In-Reply-To: <b4198de60812171113r72d8d04ao67cde38c62185bcc@mail.gmail.com>
Matt Turner wrote:
> Hi,
>
> Alpha uses a generic futex implementation, which causes some problems [1].
>
> I've read through the code, and it appears as if the implementation
> could be done by using the ldq_l/stq_c instructions, relatively easy I
> might add. I'm definitely interested in implementing this, but first...
>
> I have only a few questions.
>
> 1) What are the benefits of a native futex implementation, other than
> fixing the glibc test failures?
> 2) Is there a technical reason it hasn't been implemented on Alpha?
> 3) Am in correct that it could be done with ldq_l/stq_c instructions?
I think all the futex stuff is 32-bits wide, so ldl_l/stl_c.
You can pretty much just copy the powerpc version, as that
platform also uses load-locked/store-conditional operations.
r~
prev parent reply other threads:[~2008-12-17 21:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-17 19:13 questions about native alpha futex implementation Matt Turner
2008-12-17 19:26 ` Roland Dreier
2008-12-17 21:46 ` Richard Henderson [this message]
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=4949732A.4050207@twiddle.net \
--to=rth@twiddle.net \
--cc=ink@jurassic.park.msu.ru \
--cc=jay.estabrook@hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mattst88@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.