diff options
Diffstat (limited to 'mm/internal.h')
| -rw-r--r-- | mm/internal.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mm/internal.h b/mm/internal.h index f5c0d927924d..ef42eee87c7b 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -908,7 +908,15 @@ struct compact_control { * immediately when one is created during the free path. */ struct capture_control { - struct compact_control *cc; + 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; }; |
