]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mm: convert migrate_vma_collect_pmd to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 26 Mar 2024 20:28:24 +0000 (20:28 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 03:56:19 +0000 (20:56 -0700)
commitb002a7b0a58aceaed0e3c5dd80d6f549df6490b2
tree6674d9230ce88a4cc505b70032fe62ce0f445fb2
parente06d03d5590ae1c257b8aa2cfbfe6765e0755c14
mm: convert migrate_vma_collect_pmd to use a folio

Convert the pmd directly to a folio and use it.  Turns four calls to
compound_head() into one.

Link: https://lkml.kernel.org/r/20240326202833.523759-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/migrate_device.c