Skip to content

xen/x86: cmpxchg cleanup

Roger Pau Monne xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/memsharing: use an atomic add instead of a cmpxchg loopxen/arch/x86/mm/mem_sharing.c+1 -79 replies
2/2x86/hpet: use an atomic add instead of a cmpxchg loopxen/arch/x86/hpet.c+1 -55 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRoger Pau MonnéJan BeulichJulien GrallTamas K Lengyel
1/2Signed-of-by R-b R-b A-b
2/2Signed-of-by R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] xen/x86: cmpxchg cleanup

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(-)
Signature · 1 line
2.43.0