]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - mm/internal.h
mm, kswapd: replace kswapd compaction with waking up kcompactd
[thirdparty/kernel/stable.git] / mm / internal.h
index b95952c2faec53ed98e944b0481534c220a3202e..4042a8a05672c33b198063b0ecc0b593e1d99120 100644 (file)
@@ -172,6 +172,7 @@ struct compact_control {
        unsigned long last_migrated_pfn;/* Not yet flushed page being freed */
        enum migrate_mode mode;         /* Async or sync migration mode */
        bool ignore_skip_hint;          /* Scan blocks even if marked skip */
+       bool direct_compaction;         /* False from kcompactd or /proc/... */
        int order;                      /* order a direct compactor needs */
        const gfp_t gfp_mask;           /* gfp mask of a direct compactor */
        const int alloc_flags;          /* alloc flags of a direct compactor */