diff options
author | 2021-11-28 14:24:43 -0500 | |
---|---|---|
committer | 2022-01-04 13:15:33 -0500 | |
commit | 5bf34d7c7ffe773c3b3c1b6ebf39e0f34a2436ec (patch) | |
tree | cb9a87d4622bf533a274b38e7b321c96f4b9f45f /mm/filemap.c | |
parent | iov_iter: Convert iter_xarray to use folios (diff) | |
download | wireguard-linux-5bf34d7c7ffe773c3b3c1b6ebf39e0f34a2436ec.tar.xz wireguard-linux-5bf34d7c7ffe773c3b3c1b6ebf39e0f34a2436ec.zip |
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