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


Groups > linux.kernel > #1466576 > unrolled thread

Re: cmpxchg and x86 flags output

Started by"H. Peter Anvin" <hpa@zytor.com>
First post2016-08-19 19:30 +0200
Last post2016-08-22 17:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#1466576 — Re: cmpxchg and x86 flags output

From"H. Peter Anvin" <hpa@zytor.com>
Date2016-08-19 19:30 +0200
SubjectRe: cmpxchg and x86 flags output
Message-ID<s7VMd-8wb-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1467698

FromDavid Howells <dhowells@redhat.com>
Date2016-08-22 17:20 +0200
Message-ID<s8Zb4-7Xs-1@gated-at.bofh.it>
In reply to#1466576
H. Peter Anvin <hpa@zytor.com> wrote:

> Any news on this?  Can we perhaps help making this go forward at some point?

I'm just bringing my patches up to date with an eye on extracting and pushing
the more general (ie. less contentious) bits.

David

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web