diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 02c1a60d7937..0b97b8ece4a9 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -7765,11 +7765,11 @@ static int __alloc_contig_migrate_range(struct compact_control *cc, | |||
7765 | * @gfp_mask: GFP mask to use during compaction | 7765 | * @gfp_mask: GFP mask to use during compaction |
7766 | * | 7766 | * |
7767 | * The PFN range does not have to be pageblock or MAX_ORDER_NR_PAGES | 7767 | * The PFN range does not have to be pageblock or MAX_ORDER_NR_PAGES |
7768 | * aligned, however it's the caller's responsibility to guarantee that | 7768 | * aligned. The PFN range must belong to a single zone. |
7769 | * we are the only thread that changes migrate type of pageblocks the | ||
7770 | * pages fall in. | ||
7771 | * | 7769 | * |
7772 | * The PFN range must belong to a single zone. | 7770 | * The first thing this routine does is attempt to MIGRATE_ISOLATE all |
7771 | * pageblocks in the range. Once isolated, the pageblocks should not | ||
7772 | * be modified by others. | ||
7773 | * | 7773 | * |
7774 | * Returns zero on success or negative error code. On success all | 7774 | * Returns zero on success or negative error code. On success all |
7775 | * pages which PFN is in [start, end) are allocated for the caller and | 7775 | * pages which PFN is in [start, end) are allocated for the caller and |