RE: [PATCH 1/2] x86: add user_atomic_cmpxchg_inatomic at uaccess.h

From: Ren, Qiaowei
Date: Mon Dec 16 2013 - 07:21:37 EST


Qiaowei Ren wrote:
> This patch adds user_atomic_cmpxchg_inatomic() to use CMPXCHG instruction
> against a user space address.
>
> This generalizes the already existing futex_atomic_cmpxchg_inatomic() so it
> can be used in other contexts. This will be used in the upcoming support for
> Intel MPX (Memory Protection Extensions.)
>
Peter, do you have any other comments for this version?

Thanks,
Qiaowei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/