summaryrefslogtreecommitdiff
path: root/mm/internal.h
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-02-25 01:09:40 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-25 01:09:39 -0800
commitfedfb30bbd667643fe32d0c07b478849f0c846c0 (patch)
treea75450c68b6bb5b312cdb47eb858ec433d629710 /mm/internal.h
parent053c4faad00241374c42e4dc5d20bc0506122ea8 (diff)
parent18be75139f2c3f8ecd151919239f6e129152ff2f (diff)
Merge "mm, kswapd: replace kswapd compaction with waking up kcompactd"
Diffstat (limited to 'mm/internal.h')
-rw-r--r--mm/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/internal.h b/mm/internal.h
index 55d4fa99b486..7b9e313d9dea 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -206,6 +206,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 */