lkml.org 
[lkml]   [2023]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v13 7/7] arm64: smp: Mark IPI globals as __ro_after_init
    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@chromium.org>
    > Acked-by: Mark Rutland <mark.rutland@arm.com>
    > Tested-by: Chen-Yu Tsai <wenst@chromium.org>
    > Signed-off-by: Douglas Anderson <dianders@chromium.org>
    > ---

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

    \
     
     \ /
      Last update: 2023-09-06 23:46    [W:2.622 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site