Skip to content
Snippets Groups Projects
  1. Apr 13, 2023
  2. Apr 04, 2023
  3. Mar 27, 2023
  4. Mar 20, 2023
    • Heiko Carstens's avatar
      s390/mm: make use of atomic_fetch_xor() · d28d86a0
      Heiko Carstens authored
      
      Make use of atomic_fetch_xor() instead of an atomic_cmpxchg() loop to
      implement atomic_xor_bits() (aka atomic_xor_return()). This makes the C
      code more readable and in addition generates better code, since for z196
      and newer a single lax instruction is generated instead of a cmpxchg()
      loop.
      
      Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      d28d86a0
Loading