diff options
Diffstat (limited to 'mm/compaction.c')
-rw-r--r-- | mm/compaction.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mm/compaction.c b/mm/compaction.c index b5326b141a25..805165bcd3dd 100644 --- a/mm/compaction.c +++ b/mm/compaction.c | |||
@@ -235,10 +235,9 @@ static bool suitable_migration_target(struct page *page) | |||
235 | } | 235 | } |
236 | 236 | ||
237 | /* | 237 | /* |
238 | * Isolate free pages onto a private freelist. Caller must hold zone->lock. | 238 | * Isolate free pages onto a private freelist. If @strict is true, will abort |
239 | * If @strict is true, will abort returning 0 on any invalid PFNs or non-free | 239 | * returning 0 on any invalid PFNs or non-free pages inside of the pageblock |
240 | * pages inside of the pageblock (even though it may still end up isolating | 240 | * (even though it may still end up isolating some pages). |
241 | * some pages). | ||
242 | */ | 241 | */ |
243 | static unsigned long isolate_freepages_block(struct compact_control *cc, | 242 | static unsigned long isolate_freepages_block(struct compact_control *cc, |
244 | unsigned long blockpfn, | 243 | unsigned long blockpfn, |