Hello,
Following series replace a couple of cmpxchg loops with an atomic inc.
The usage of such loops probably dates back to 32bit support, which
didn't have an instruction to do an atomic 64bit addition.
Thanks, Roger.
Roger Pau Monne (2):
x86/memsharing: use an atomic add instead of a cmpxchg loop
x86/hpet: use an atomic add instead of a cmpxchg loop
xen/arch/x86/hpet.c | 6 +-----
xen/arch/x86/mm/mem_sharing.c | 8 +-------
2 files changed, 2 insertions(+), 12 deletions(-)
--
2.43.0