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

2017-08-07 Thread Michael Ellerman
On Thu, 2017-01-12 at 09:09:06 UTC, 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 > Tested-by: Anshuman Khandual

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

2017-08-07 Thread Michael Ellerman
On Thu, 2017-01-12 at 09:09:06 UTC, 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 > Tested-by: Anshuman Khandual Applied to powerpc next, thanks.