aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/compaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/compaction.c b/mm/compaction.c
index b4930bf93c8a..3319e0872d01 100644
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -1370,7 +1370,7 @@ fast_isolate_freepages(struct compact_control *cc)
1370 count_compact_events(COMPACTISOLATED, nr_isolated); 1370 count_compact_events(COMPACTISOLATED, nr_isolated);
1371 } else { 1371 } else {
1372 /* If isolation fails, abort the search */ 1372 /* If isolation fails, abort the search */
1373 order = -1; 1373 order = cc->search_order + 1;
1374 page = NULL; 1374 page = NULL;
1375 } 1375 }
1376 } 1376 }