[PATCH] ARM: futex: add SMP futex support when !CPU_USE_DOMAINS

Will Deacon will.deacon at arm.com
Wed Apr 20 11:29:07 EDT 2011


On Fri, 2011-04-08 at 13:58 +0100, Will Deacon wrote:
> This patch uses the load/store exclusive instructions to add SMP futex
> support for ARM.
> 
> Since the ARM architecture does not provide instructions for
> unprivileged exclusive memory accesses, we can only provide SMP futexes
> when CPU domain support is disabled.
> 
> Signed-off-by: Will Deacon <will.deacon at arm.com>
> ---
>  arch/arm/include/asm/futex.h |  137 +++++++++++++++++++++++++++--------------
>  1 files changed, 90 insertions(+), 47 deletions(-)

Any comments on this patch? The LTP tests for {get,set}_robust_list seem
happy enough but any review would be welcome.

Will




More information about the linux-arm-kernel mailing list