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>
Mon, 21 Mar 2022 17:01:36 +0000 (13:01 -0400)
commit421f1ab48452af48b64e205de1caca3d1ba415f4
tree49c1c82581c8e35f59f8ad318fc68896d8bf5597
parent06d44142d49dc2e02d255ea9d72dc4c20f20388f
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