]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: mass constification of folio/page pointers
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 5 Oct 2024 20:01:15 +0000 (21:01 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Nov 2024 04:29:02 +0000 (21:29 -0700)
commitbdaf35f721373bcb48a66bc305cdd75556c66b73
tree34efab8b0549efebde0cfe936aa10fc530ad4a3f
parent9a176391ebb13230d3bbec642bffb767b11e8e1c
mm: mass constification of folio/page pointers

Now that page_pgoff() takes const pointers, we can constify the pointers
to a lot of functions.

Link: https://lkml.kernel.org/r/20241005200121.3231142-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/ksm.h
include/linux/rmap.h
mm/internal.h
mm/ksm.c
mm/memory-failure.c
mm/page_vma_mapped.c
mm/rmap.c