mm: vmscan: compaction works against zones, not lruvecs
[platform/adaptation/renesas_rcar/renesas_kernel.git] / mm / Kconfig
index 278e3ab..0b23db9 100644 (file)
@@ -1,6 +1,6 @@
 config SELECT_MEMORY_MODEL
        def_bool y
-       depends on EXPERIMENTAL || ARCH_SELECT_MEMORY_MODEL
+       depends on ARCH_SELECT_MEMORY_MODEL
 
 choice
        prompt "Memory model"
@@ -258,6 +258,19 @@ config BOUNCE
        def_bool y
        depends on BLOCK && MMU && (ZONE_DMA || HIGHMEM)
 
+# On the 'tile' arch, USB OHCI needs the bounce pool since tilegx will often
+# have more than 4GB of memory, but we don't currently use the IOTLB to present
+# a 32-bit address to OHCI.  So we need to use a bounce pool instead.
+#
+# We also use the bounce pool to provide stable page writes for jbd.  jbd
+# initiates buffer writeback without locking the page or setting PG_writeback,
+# and fixing that behavior (a second time; jbd2 doesn't have this problem) is
+# a major rework effort.  Instead, use the bounce buffer to snapshot pages
+# (until jbd goes away).  The only jbd user is ext3.
+config NEED_BOUNCE_POOL
+       bool
+       default y if (TILE && USB_OHCI_HCD) || (BLK_DEV_INTEGRITY && JBD)
+
 config NR_QUICK
        int
        depends on QUICKLIST