[PATCH] arm64: set "rodata=on" as default

Shijie Huang shijie at amperemail.onmicrosoft.com
Wed Oct 23 20:57:36 PDT 2024


On 2024/10/24 0:35, Will Deacon wrote:
> The "full" behaviour on arm64 is equivalent to the "on" behaviour on x86
> so the more consistent change to make would be:
>
>    - Make our "on" behaviour be what is currently done by "full"
>    - Remove RODATA_FULL_DEFAULT_ENABLED
>    - Introduce a new option (e.g. "rodata=noalias") which would match the
>      current "on" behaviour
>    - Update (simplify) the documentation
>
> That way, the default behaviour and the "on"/"off" options follow the
> x86 behaviour and expert users can fine-tune the security/performance
> trade-off using the "noalias" option.

Okay. I will do it in the next version.


Thanks

Huang Shijie




More information about the linux-arm-kernel mailing list