]> Git Repo - linux.git/commit - mm/internal.h
mm: mlock: update the interface to use folios
authorLorenzo Stoakes <[email protected]>
Thu, 12 Jan 2023 12:39:31 +0000 (12:39 +0000)
committerAndrew Morton <[email protected]>
Fri, 3 Feb 2023 06:33:04 +0000 (22:33 -0800)
commit96f97c438f61ddba94117dcd1a1eb0aaafa22309
tree94fb76864c1a2b8d462022c775e667babb07e9e7
parentb213ef6b72b5f1f9d333f8aca05440db4e302b46
mm: mlock: update the interface to use folios

Update the mlock interface to accept folios rather than pages, bringing
the interface in line with the internal implementation.

munlock_vma_page() still requires a page_folio() conversion, however this
is consistent with the existent mlock_vma_page() implementation and a
product of rmap still dealing in pages rather than folios.

Link: https://lkml.kernel.org/r/cba12777c5544305014bc0cbec56bb4cc71477d8.1673526881.git.lstoakes@gmail.com
Signed-off-by: Lorenzo Stoakes <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Joel Fernandes (Google) <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Liam R. Howlett <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Mike Rapoport (IBM) <[email protected]>
Cc: William Kucharski <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
mm/internal.h
mm/migrate.c
mm/mlock.c
mm/page_alloc.c
mm/rmap.c
mm/swap.c
This page took 0.048991 seconds and 4 git commands to generate.