Messages in this thread | | | From | SeongJae Park <> | Subject | Re: [PATCH 1/2] mm/damon/vaddr: constify static mm_walk_ops | Date | Thu, 14 Oct 2021 10:29:58 +0000 |
| |
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
[...]
| |