Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1466576

Re: cmpxchg and x86 flags output

From "H. Peter Anvin" <hpa@zytor.com>
Newsgroups linux.kernel
Subject Re: cmpxchg and x86 flags output
Date 2016-08-19 19:30 +0200
Message-ID <s7VMd-8wb-5@gated-at.bofh.it> (permalink)
References (2 earlier) <rK6ps-3cQ-7@gated-at.bofh.it> <rKeQ2-iF-19@gated-at.bofh.it> <rMpQZ-3Mw-13@gated-at.bofh.it> <rMxOx-pg-3@gated-at.bofh.it> <rMT2G-5KQ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: cmpxchg and x86 flags output "H. Peter Anvin" <hpa@zytor.com> - 2016-08-19 19:30 +0200
  Re: cmpxchg and x86 flags output David Howells <dhowells@redhat.com> - 2016-08-22 17:20 +0200

csiph-web