Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283014
b: refs/heads/master
c: 31b8384
h: refs/heads/master
v: v3
  • Loading branch information
Hillf Danton authored and Linus Torvalds committed Jan 11, 2012
1 parent ea867eb commit 56a94f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e3a41a5ba9c2ab988b9f1442925109dca2382fd9
refs/heads/master: 31b8384a555d94c78e2ea2284a323cb985441f60
4 changes: 3 additions & 1 deletion trunk/mm/compaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,10 @@ static isolate_migrate_t isolate_migratepages(struct zone *zone,
nr_isolated++;

/* Avoid isolating too much */
if (cc->nr_migratepages == COMPACT_CLUSTER_MAX)
if (cc->nr_migratepages == COMPACT_CLUSTER_MAX) {
++low_pfn;
break;
}
}

acct_isolated(zone, cc);
Expand Down

0 comments on commit 56a94f7

Please sign in to comment.