[PATCH v15 4/8] arm64: futex: refactor futex atomic operation
Catalin Marinas
catalin.marinas at arm.com
Thu Mar 12 07:41:57 PDT 2026
On Fri, Feb 27, 2026 at 03:17:01PM +0000, Yeoreum Yun wrote:
> Refactor futex atomic operations using ll/sc method with
> clearing PSTATE.PAN to prepare to apply FEAT_LSUI on them.
>
> Signed-off-by: Yeoreum Yun <yeoreum.yun at arm.com>
> Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>
> ---
> arch/arm64/include/asm/futex.h | 137 +++++++++++++++++++++------------
> 1 file changed, 87 insertions(+), 50 deletions(-)
>
> diff --git a/arch/arm64/include/asm/futex.h b/arch/arm64/include/asm/futex.h
> index bc06691d2062..9a0efed50743 100644
> --- a/arch/arm64/include/asm/futex.h
> +++ b/arch/arm64/include/asm/futex.h
> @@ -7,21 +7,25 @@
>
> #include <linux/futex.h>
> #include <linux/uaccess.h>
> +#include <linux/stringify.h>
Nit: what needs stringify.h in this file? It get removed (or rather
moved to lsui.h) in the next patch.
--
Catalin
More information about the linux-arm-kernel
mailing list