mm: Make large folios depend on THP
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 16 Jan 2022 04:27:08 +0000 (23:27 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 1 Mar 2022 02:01:35 +0000 (21:01 -0500)
commit0b9633b90a080100e57c453a551fe98a16431d1e
treeeaf1c760ce8e284ce209828a5c27b125433e05b0
parente946e49e46f818591a9582192532c98cd6207719
mm: Make large folios depend on THP

Some parts of the VM still depend on THP to handle large folios
correctly.  Until those are fixed, prevent creating large folios
if THP are disabled.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/pagemap.h