mm/mlock: Add mlock_vma_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 15 Feb 2022 18:33:59 +0000 (13:33 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:59:02 +0000 (12:59 -0400)
commitdcc5d337c5e62761ee71f2e25c7aa890b1aa41a2
treef77619f9b0067bf4e52f69cf586659ba2cdd4c2e
parente83c09a24e3d229f84163c119224af4c8f6c54c1
mm/mlock: Add mlock_vma_folio()

Convert mlock_page() into mlock_folio() and convert the callers.  Keep
mlock_vma_page() as a wrapper.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/internal.h
mm/mlock.c