summaryrefslogtreecommitdiff
path: root/mm/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'mm/internal.h')
-rw-r--r--mm/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mm/internal.h b/mm/internal.h
index 7bc26553079d..5758dcaf4392 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -874,6 +874,12 @@ struct compact_control {
struct capture_control {
struct zone *zone;
int migratetype;
+ /*
+ * Allocation request order. May differ from the compaction
+ * order: defrag_mode promotes sub-block allocations to
+ * pageblock-order compaction; capture still matches at the
+ * original allocation order so prep_new_page() is consistent.
+ */
int order;
struct page *page;
};