diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-11-28 22:24:43 +0300 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-01-04 21:15:33 +0300 |
| commit | 5bf34d7c7ffe773c3b3c1b6ebf39e0f34a2436ec (patch) | |
| tree | cb9a87d4622bf533a274b38e7b321c96f4b9f45f /include/linux/stringify.h | |
| parent | 821979f5098b05dd1cc83075369304ed65dfef4e (diff) | |
| download | linux-5bf34d7c7ffe773c3b3c1b6ebf39e0f34a2436ec.tar.xz | |
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 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
