]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/mmzone.h
mm: compaction: Restart compaction from near where it left off
[karo-tx-linux.git] / include / linux / mmzone.h
index f85ecc9cfa1bc610a2c8714c6a6e06c6f2aeff8a..c8b3abc97a1edd8c16cc709740ed968cbe615039 100644 (file)
@@ -371,6 +371,10 @@ struct zone {
        int                     all_unreclaimable; /* All pages pinned */
 #if defined CONFIG_COMPACTION || defined CONFIG_CMA
        unsigned long           compact_blockskip_expire;
+
+       /* pfns where compaction scanners should start */
+       unsigned long           compact_cached_free_pfn;
+       unsigned long           compact_cached_migrate_pfn;
 #endif
 #ifdef CONFIG_MEMORY_HOTPLUG
        /* see spanned/present_pages for more description */