[CRIU] [PATCH 0/4] Switch to kernel's atomic ops protos
Cyrill Gorcunov
gorcunov at openvz.org
Tue Aug 13 12:20:20 EDT 2013
Here is a serie to switch from own atomic ops to ones
used in kernel code. Please review carefully. Thanks!
Have not yet thested them, just build test.
Cyrill Gorcunov (4):
x86: asm -- Add cmpxchg helpers
x86: atomic -- Switch to linux kernel templates
arm: atomic -- Add atomic_read/atomic_set helpers
atomic: Use atomic_read instead of atomic_get
arch/arm/include/asm/atomic.h | 12 +++--
arch/x86/include/asm/atomic.h | 117 ++++++++++++++++++++++-------------------
arch/x86/include/asm/cmpxchg.h | 45 ++++++++++++++++
include/lock.h | 30 +++++------
stats.c | 6 +--
5 files changed, 136 insertions(+), 74 deletions(-)
create mode 100644 arch/x86/include/asm/cmpxchg.h
--
1.8.1.4
More information about the CRIU
mailing list