Re: [PATCH] powerpc/mm: fix a hardcode on memory boundary checking

From: Anshuman Khandual
Date: Wed Jul 05 2017 - 00:45:59 EST

On 01/12/2017 02:39 PM, Rui Teng wrote:
> The offset of hugepage block will not be 16G, if the expected
> page is more than one. Calculate the totol size instead of the
> hardcode value.
> Signed-off-by: Rui Teng <rui.teng@xxxxxxxxxxxxxxxxxx>

I have a redundant patch, this one is the original.

Tested-by: Anshuman Khandual <khandual@xxxxxxxxxxxxxxxxxx>