[PATCH -V1 07/24] powerpc: Add size argument to pgtable_cache_add
Paul Mackerras
paulus at samba.org
Mon Mar 4 16:13:40 EST 2013
On Tue, Feb 26, 2013 at 01:34:57PM +0530, Aneesh Kumar K.V wrote:
> From: "Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com>
>
> We will use this later with THP changes to request for pmd table of double the size.
> THP code does PTE page allocation along with large page request and deposit them
> for later use. This is to ensure that we won't have any failures when we split
> huge pages to regular pages.
>
> On powerpc we want to use the deposited PTE page for storing hash pte slot and
> secondary bit information for the HPTEs. Hence we save them in the second half
> of the pmd table.
Looks OK, but you should explain why you made the wholesale change of
"shift" to "index". Is there some important semantic difference, or
do you just prefer the "index" name for some reason?
Paul.
More information about the Linuxppc-dev
mailing list