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>
Thu, 7 Nov 2024 22:38:07 +0000 (14:38 -0800)
commit68158bfa3dbd4af8461ef75a91ffc03be942c8fe
treec9d893f1a845509151594a08f051c3cdc7f303ac
parent713da0b33b3e9d16272b57f4c44dee5c052be9b7
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