]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Reduce the number of slab->folio casts
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 31 May 2024 12:29:02 +0000 (13:29 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Fri, 31 May 2024 13:51:10 +0000 (15:51 +0200)
commit4d2bcefa965b06a1f2be6912456bcfa86a34f184
treee94748013e551b80d29658818554bf089c5ea66b
parenta0a44d9175b349df2462089140fb7f292100bd7c
mm: Reduce the number of slab->folio casts

Mark a few more folio functions as taking a const folio pointer, which
allows us to remove a few places in slab which cast away the const.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/mm.h
mm/slab.h
mm/slub.c