Re: [PATCH 2/6] mm/hugetlb: add same zone check in pfn_range_valid_gigantic()

From: Vlastimil Babka
Date: Wed Mar 23 2016 - 10:38:25 EST


On 03/14/2016 08:31 AM, js1304@xxxxxxxxx wrote:
From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>

alloc_gigantic_page() uses alloc_contig_range() and this
requires that requested range is in a single zone. To satisfy
that requirement, add this check to pfn_range_valid_gigantic().

Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>

Acked-by: Vlastimil Babka <vbabka@xxxxxxx>