From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 22 Feb 2013 16:06:07 +1100 From: Paul Mackerras To: "Aneesh Kumar K.V" Subject: Re: [RFC PATCH -V2 03/21] powerpc: Don't hard code the size of pte page Message-ID: <20130222050607.GC6139@drongo> References: <1361465248-10867-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1361465248-10867-4-git-send-email-aneesh.kumar@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1361465248-10867-4-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 Thu, Feb 21, 2013 at 10:17:10PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > USE PTRS_PER_PTE to indicate the size of pte page. > > Signed-off-by: Aneesh Kumar K.V > powerpc: Don't hard code the size of pte page > > USE PTRS_PER_PTE to indicate the size of pte page. > > Signed-off-by: Aneesh Kumar K.V Description and signoff are duplicated. Description could be more informative, for example - why would we want to do this? > +/* > + * hidx is in the second half of the page table. We use the > + * 8 bytes per each pte entry. The casual reader probably wouldn't know what "hidx" is. The comment needs at least to use a better name than "hidx". Paul.