HomeFreeBSD

Optimise xchg() to use atomic_swap_32() and atomic_swap_64().

Description

Optimise xchg() to use atomic_swap_32() and atomic_swap_64().

Suggested by: kib@
MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS329523: Fix implementation of xchg() function macro in the LinuxKPI.
Branches
Unknown
Tags
Unknown