From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752843AbdHGKlw (ORCPT ); Mon, 7 Aug 2017 06:41:52 -0400 Received: from ozlabs.org ([103.22.144.67]:60447 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752771AbdHGKlv (ORCPT ); Mon, 7 Aug 2017 06:41:51 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 23493c121912a39f0262e0dbeb236e1d39efa4d5 In-Reply-To: <20170112090906.17864-1-rui.teng@linux.vnet.ibm.com> To: Rui Teng , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org From: Michael Ellerman Cc: Boqun Feng , Rui Teng , "Aneesh Kumar K.V" , jia he Subject: Re: powerpc/mm: fix a hardcode on memory boundary checking Message-Id: <3xQvGj6QZMz9t2R@ozlabs.org> Date: Mon, 7 Aug 2017 20:41:49 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. https://git.kernel.org/powerpc/c/23493c121912a39f0262e0dbeb236e cheers