mm, compaction: add per-zone migration pfn cache for async compaction
[cascardo/linux.git] / include / linux / mmzone.h
index ae693e1..10a96ee 100644 (file)
@@ -360,9 +360,10 @@ struct zone {
        /* Set to true when the PG_migrate_skip bits should be cleared */
        bool                    compact_blockskip_flush;
 
-       /* pfns where compaction scanners should start */
+       /* pfn where compaction free scanner should start */
        unsigned long           compact_cached_free_pfn;
-       unsigned long           compact_cached_migrate_pfn;
+       /* pfn where async and sync compaction migration scanner should start */
+       unsigned long           compact_cached_migrate_pfn[2];
 #endif
 #ifdef CONFIG_MEMORY_HOTPLUG
        /* see spanned/present_pages for more description */