[PATCH v4 4/7] arm64/futex: move futex atomic logic with clearing PAN bit
Yeoreum Yun
yeoreum.yun at arm.com
Tue Jul 22 01:21:19 PDT 2025
Hi Mark,
> > Move current futex atomic logics which uses ll/sc method with cleraing
> > PSTATE.PAN to separate file (futex_ll_sc_u.h) so that
> > former method will be used only when FEAT_LSUI isn't supported.
>
> This isn't moving logic, this is *duplicating* the existing logic. As of
> this patch, this logic in the <asm/futex_ll_sc_u.h> header is unused,
> and the existing logic in <asm/futex.h> is still used as-is.
>
> Please refactor the existing logic first. The deletion of the existing
> code should happen at the same time as this addition. That way it's
> possible to see that the deleted logic corresponds to what is being
> added in the header, and it's generally nicer for bisection.
>
> Mark.
Thanks for this :)
As you suggest in other comments, I'll respin in <asm/futex.h> only.
[...]
--
Sincerely,
Yeoreum Yun
More information about the linux-arm-kernel
mailing list