From: "H. Peter Anvin" <hpa@zytor.com>
To: David Howells <dhowells@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-arch <linux-arch@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Ingo Molnar <mingo@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: cmpxchg and x86 flags output
Date: Fri, 19 Aug 2016 10:22:59 -0700 [thread overview]
Message-ID: <d92e22b3-d0af-de6f-def6-9dfe73b91542@zytor.com> (raw)
In-Reply-To: <16406.1466612063@warthog.procyon.org.uk>
On 06/22/16 09:14, David Howells wrote:
> H. Peter Anvin <hpa@zytor.com> wrote:
>
>> So how do we make this move forward?
>
> Getting my API additions in is relatively straightforward, I think. The
> whether-or-notness of the cmpxchg operation succeeding can be calculated by
> comparing the original value read from memory with the value-to-be-replaced
> inside the API function.
>
> This can later be replaced with the boolean output from the CMPXCHG
> instruction, the branch target from the LL/SC skipping or the result of the
> intrinsics.
>
Hi David,
Any news on this? Can we perhaps help making this go forward at some point?
-hpa
next prev parent reply other threads:[~2016-08-19 17:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-14 23:53 H. Peter Anvin
2016-06-15 8:50 ` Peter Zijlstra
2016-06-16 22:21 ` H. Peter Anvin
2016-06-21 9:06 ` David Howells
2016-06-21 17:00 ` H. Peter Anvin
2016-06-21 17:24 ` H. Peter Anvin
2016-06-22 0:09 ` H. Peter Anvin
2016-06-22 16:14 ` David Howells
2016-08-19 17:22 ` H. Peter Anvin [this message]
2016-08-22 15:13 ` David Howells
2016-06-22 16:11 ` David Howells
2016-06-22 16:36 ` H. Peter Anvin
2016-06-22 17:11 ` Linus Torvalds
2016-06-22 17:49 ` H. Peter Anvin
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=d92e22b3-d0af-de6f-def6-9dfe73b91542@zytor.com \
--to=hpa@zytor.com \
--cc=dhowells@redhat.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.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: 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®