[PATCH v13 7/7] arm64: smp: Mark IPI globals as __ro_after_init

Stephen Boyd swboyd at chromium.org
Wed Sep 6 14:45:55 PDT 2023


Quoting Douglas Anderson (2023-09-06 09:03:02)
> Mark the three IPI-related globals in smp.c as "__ro_after_init" since
> they are only ever set in set_smp_ipi_range(), which is marked
> "__init". This is a better and more secure marking than the old
> "__read_mostly".
>
> Suggested-by: Stephen Boyd <swboyd at chromium.org>
> Acked-by: Mark Rutland <mark.rutland at arm.com>
> Tested-by: Chen-Yu Tsai <wenst at chromium.org>
> Signed-off-by: Douglas Anderson <dianders at chromium.org>
> ---

Reviewed-by: Stephen Boyd <swboyd at chromium.org>



More information about the linux-arm-kernel mailing list