Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3vkjvb3HrnzDqYX for ; Fri, 17 Mar 2017 09:34:35 +1100 (AEDT) Date: Fri, 17 Mar 2017 09:03:04 +1100 From: Paul Mackerras To: "Aneesh Kumar K.V" Cc: benh@kernel.crashing.org, mpe@ellerman.id.au, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH V2 02/11] powerpc/mm/slice: when computing slice mask limit lowe slice max addr correctly Message-ID: <20170316220304.GB10100@fergus.ozlabs.ibm.com> References: <1489660329-22501-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1489660329-22501-3-git-send-email-aneesh.kumar@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1489660329-22501-3-git-send-email-aneesh.kumar@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Mar 16, 2017 at 04:02:00PM +0530, Aneesh Kumar K.V wrote: > For low slice max addr should be less that 4G ^^^^ than A more verbose explanation of the off-by-1 error that you are fixing is needed here. Tell us what goes wrong with the current code and why your fix is the correct one. > > Signed-off-by: Aneesh Kumar K.V For the code change: Reviewed-by: Paul Mackerras