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


Groups > linux.kernel > #1390071

Re: [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16

From Pan Xinhui <xinhui@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16
Date 2016-04-28 14:00 +0200
Message-ID <rsSLU-2rx-1@gated-at.bofh.it> (permalink)
References <rpxui-2ov-3@gated-at.bofh.it> <rq0mC-5D-11@gated-at.bofh.it> <rstNw-7b3-11@gated-at.bofh.it> <rsP1D-7Qj-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 2016年04月28日 15:59, Peter Zijlstra wrote:
> On Wed, Apr 27, 2016 at 05:16:45PM +0800, Pan Xinhui wrote:
>> From: Pan Xinhui <xinhui.pan@linux.vnet.ibm.com>
>>
>> Implement xchg{u8,u16}{local,relaxed}, and
>> cmpxchg{u8,u16}{,local,acquire,relaxed}.
>>
>> It works on all ppc.
>>
>> remove volatile of first parameter in __cmpxchg_local and __cmpxchg
>>
>> Suggested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
>> Signed-off-by: Pan Xinhui <xinhui.pan@linux.vnet.ibm.com>
> 
> Generally has the right shape; and I trust others to double check the
> ppc-asm minutia.
> 
> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
> 
> 
thanks!

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


Thread

[PATCH V2] powerpc: Implement {cmp}xchg for u8 and u16 Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-19 08:40 +0200
  Re: [PATCH V2] powerpc: Implement {cmp}xchg for u8 and u16 Boqun Feng <boqun.feng@gmail.com> - 2016-04-19 11:20 +0200
    Re: [PATCH V2] powerpc: Implement {cmp}xchg for u8 and u16 Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-20 05:50 +0200
  [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16 Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-20 15:30 +0200
    Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16 Peter Zijlstra <peterz@infradead.org> - 2016-04-20 16:30 +0200
      Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16 Boqun Feng <boqun.feng@gmail.com> - 2016-04-21 17:50 +0200
        Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16 Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-22 04:10 +0200
          Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16 Boqun Feng <boqun.feng@gmail.com> - 2016-04-22 05:20 +0200
      Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16 Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-21 18:10 +0200
        Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16 Peter Zijlstra <peterz@infradead.org> - 2016-04-21 18:20 +0200
          Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16 Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-25 12:20 +0200
            Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16 Peter Zijlstra <peterz@infradead.org> - 2016-04-25 17:40 +0200
              Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16 Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-26 13:40 +0200
    [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16 Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-27 11:20 +0200
      Re: [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16 Boqun Feng <boqun.feng@gmail.com> - 2016-04-27 16:00 +0200
        Re: [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16 Boqun Feng <boqun.feng@gmail.com> - 2016-04-27 16:20 +0200
        Re: [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16 Boqun Feng <boqun.feng@gmail.com> - 2016-04-27 16:50 +0200
          Re: [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16 Boqun Feng <boqun.feng@gmail.com> - 2016-04-27 17:00 +0200
            Re: [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16 Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-28 12:30 +0200
      Re: [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16 Peter Zijlstra <peterz@infradead.org> - 2016-04-28 10:00 +0200
        Re: [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16 Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-28 14:00 +0200

csiph-web