[CRIU] [PATCH 0/3] atomic_cmpxchg
Ruslan Kuprieiev
kupruser at gmail.com
Wed Dec 3 09:27:58 PST 2014
We need this set to be able to set cr_err
from child processes in a non-racy way.
Code is copied from linux kernel sources.
Ruslan Kuprieiev (3):
arch:x86: add atomic_cmpxchg
arch:arm: add atomic_cmpxchg
arch:aarch64: add atomic_cmpxchg
arch/aarch64/include/asm/atomic.h | 22 ++++++++++++++
arch/arm/include/asm/atomic.h | 26 +++++++++++++++++
arch/arm/include/asm/processor.h | 28 ++++++++++++++++++
arch/x86/include/asm/atomic.h | 5 ++++
arch/x86/include/asm/cmpxchg.h | 60 +++++++++++++++++++++++++++++++++++++++
5 files changed, 141 insertions(+)
create mode 100644 arch/arm/include/asm/processor.h
--
1.9.3
More information about the CRIU
mailing list