aboutsummaryrefslogtreecommitdiffstats
path: root/mm/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'mm/internal.h')
-rw-r--r--mm/internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/internal.h b/mm/internal.h
index 6f6bb9ab9386..7ba56ac360b2 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -120,6 +120,7 @@ struct compact_control {
120 unsigned long free_pfn; /* isolate_freepages search base */ 120 unsigned long free_pfn; /* isolate_freepages search base */
121 unsigned long migrate_pfn; /* isolate_migratepages search base */ 121 unsigned long migrate_pfn; /* isolate_migratepages search base */
122 bool sync; /* Synchronous migration */ 122 bool sync; /* Synchronous migration */
123 bool ignore_skip_hint; /* Scan blocks even if marked skip */
123 124
124 int order; /* order a direct compactor needs */ 125 int order; /* order a direct compactor needs */
125 int migratetype; /* MOVABLE, RECLAIMABLE etc */ 126 int migratetype; /* MOVABLE, RECLAIMABLE etc */
@@ -129,7 +130,8 @@ struct compact_control {
129}; 130};
130 131
131unsigned long 132unsigned long
132isolate_freepages_range(unsigned long start_pfn, unsigned long end_pfn); 133isolate_freepages_range(struct compact_control *cc,
134 unsigned long start_pfn, unsigned long end_pfn);
133unsigned long 135unsigned long
134isolate_migratepages_range(struct zone *zone, struct compact_control *cc, 136isolate_migratepages_range(struct zone *zone, struct compact_control *cc,
135 unsigned long low_pfn, unsigned long end_pfn); 137 unsigned long low_pfn, unsigned long end_pfn);