[CRIU] [PATCH 0/3] atomic_cmpxchg

Pavel Emelyanov xemul at parallels.com
Mon Dec 8 04:56:05 PST 2014


On 12/03/2014 08:27 PM, Ruslan Kuprieiev wrote:
> 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
> 

OK, applied, let's see how it goes :)


More information about the CRIU mailing list