summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-11-28 14:24:43 -0500
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-01-04 13:15:33 -0500
commit5bf34d7c7ffe773c3b3c1b6ebf39e0f34a2436ec (patch)
treecb9a87d4622bf533a274b38e7b321c96f4b9f45f /mm/filemap.c
parent821979f5098b05dd1cc83075369304ed65dfef4e (diff)
downloadlinux-5bf34d7c7ffe773c3b3c1b6ebf39e0f34a2436ec.tar.bz2
mm: Add folio_test_pmd_mappable()
Add a predicate to determine if the folio might be mapped by a PMD entry. If CONFIG_TRANSPARENT_HUGEPAGE is disabled, we know it can't be, even if it's large enough. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions