]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: add pmd_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 26 Mar 2024 20:28:23 +0000 (20:28 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 03:56:19 +0000 (20:56 -0700)
commite06d03d5590ae1c257b8aa2cfbfe6765e0755c14
treee1300c67bcfaff343e73595ccb961ea082af64a3
parent5beaee54a324ba1fe307e341ec825d5d099f4091
mm: add pmd_folio()

Convert directly from a pmd to a folio without going through another
representation first.  For now this is just a slightly shorter way to
write it, but it might end up being more efficient later.

Link: https://lkml.kernel.org/r/20240326202833.523759-4-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>
include/linux/pgtable.h
mm/huge_memory.c
mm/madvise.c
mm/mempolicy.c
mm/mlock.c
mm/userfaultfd.c