]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb527e717ffdfc64eff63d74fb20d6d04a3e3712
tree0aafd7008b80d2328f28e0b4832f698c901acec4
parentabe3803caa599f67def8561d46986c6d122acf71
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