From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 4 Mar 2013 16:15:16 +1100 From: Paul Mackerras To: "Aneesh Kumar K.V" Subject: Re: [PATCH -V1 08/24] powerpc: Use encode avpn where we need only avpn values Message-ID: <20130304051516.GD27523@drongo> References: <1361865914-13911-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1361865914-13911-9-git-send-email-aneesh.kumar@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1361865914-13911-9-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Cc: linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Feb 26, 2013 at 01:34:58PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > In all these cases we are doing something similar to > > HPTE_V_COMPARE(hpte_v, want_v) which ignores the HPTE_V_LARGE bit > > With MPSS support we would need actual page size to set HPTE_V_LARGE > bit and that won't be available in most of these cases. Since we are ignoring > HPTE_V_LARGE bit, use the avpn value instead. There should not be any change > in behaviour after this patch. > > Signed-off-by: Aneesh Kumar K.V Acked-by: Paul Mackerras