diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-11-28 14:24:43 -0500 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-01-04 13:15:33 -0500 |
commit | 5bf34d7c7ffe773c3b3c1b6ebf39e0f34a2436ec (patch) | |
tree | cb9a87d4622bf533a274b38e7b321c96f4b9f45f /mm/filemap.c | |
parent | 821979f5098b05dd1cc83075369304ed65dfef4e (diff) | |
download | linux-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