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