← Back to team overview

kernel-packages team mailing list archive

[Bug 1556096] Re: [Ubuntu 16.04.1] RELEASE and ACQUIRE atomics on Power

 

Hi Leann,

The patches were finally acccepted and they are on Linus' tree. They
are:

56c08e6d226c powerpc: atomic: Implement acquire/release/relaxed variants for cmpxchg
26760fc19a7e powerpc: atomic: Implement acquire/release/relaxed variants for xchg
dc53617c4a3f powerpc: atomic: Implement atomic{, 64}_*_return_* variants
e1ab7f39d7e0 atomics: Allow architectures to define their own __atomic_op_* helpers

Thank you,
Breno

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1556096

Title:
  [Ubuntu 16.04.1] RELEASE and ACQUIRE atomics on Power

Status in linux package in Ubuntu:
  Triaged

Bug description:
  Will Deacon proposed the RELEASE/ACQUIRE/RELAXED semantics for atomic
  operations(https://lkml.org/lkml/2015/8/6/498), which has been already
  merged in 4.3-rc1. More people tend to use it for better
  performance(https://lkml.org/lkml/2015/9/20/47). These semantics are
  proposed for better fitting the need of high scalability.

   However, the efficient implementation hasn't been merged yet. As we
  have a weaker memory order model on POWER, if we didn't implement
  these atomics efficently, there would be no benefit we can gain from
  these new operations.

  A proposal of an efficient implemenation has been sent out to
  upstream(https://lkml.org/lkml/2015/9/16/527), hopefully will get
  merged. Still there may be more atomics having RELEASE and ACQUIRE
  semantics, and there need more effort to implement them correctly.
  Also, we need to spread these new atomic variants to LTC kernel team
  to understand what they can provide and how to use them.

  > Was this feature already accepted upstream?

  Not yet, still waiting to get into the maintainer's tree, but there is
  no obvious objection to this feature.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1556096/+subscriptions