lkml.org 
[lkml]   [2021]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 1/2] mm/damon/vaddr: constify static mm_walk_ops
    Date
    On Thu, 14 Oct 2021 09:50:41 +0200 Rikard Falkeborn <rikard.falkeborn@gmail.com> wrote:

    > The only usage of these structs is to pass their addresses to
    > walk_page_range(), which takes a pointer to const mm_walk_ops as
    > argument. Make them const to allow the compiler to put them in
    > read-only memory.
    >
    > Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>

    Reviewed-by: SeongJae Park <sj@kernel.org>


    Thanks,
    SJ

    [...]

    \
     
     \ /
      Last update: 2021-10-14 12:31    [W:4.421 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site