mm/filemap: Support VM_HUGEPAGE for file mappings
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 25 Jul 2021 03:37:13 +0000 (23:37 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 17:01:36 +0000 (13:01 -0400)
commit4687fdbb805a92ce5a9f23042c436dc64fef8b77
tree0aafd7008b80d2328f28e0b4832f698c901acec4
parent56a4d67c264e37014b8392cba9869c7fe904ed1e
mm/filemap: Support VM_HUGEPAGE for file mappings

If the VM_HUGEPAGE flag is set, attempt to allocate PMD-sized folios
during readahead, even if we have no history of readahead being
successful.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/filemap.c