mm/readahead: Align file mappings for non-DAX
authorWilliam Kucharski <william.kucharski@oracle.com>
Sun, 22 Sep 2019 12:43:15 +0000 (08:43 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 1 Mar 2022 02:01:36 +0000 (21:01 -0500)
commit61435e1e267c608c7056c2fd8c521211657842d7
treee586523a33c7ba7edd5ad9b74a465293064a6536
parent4d60c2e6e05b77f732226030c9608f61c650d110
mm/readahead: Align file mappings for non-DAX

When we have the opportunity to use PMDs to map a file, we want to follow
the same rules as DAX.

Signed-off-by: William Kucharski <william.kucharski@oracle.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/huge_memory.c