Re: [PATCH -V5 17/25] powerpc/THP: Implement transparent hugepages for ppc64

2013-04-11 Thread Aneesh Kumar K.V
David Gibson d...@au1.ibm.com writes: On Thu, Apr 04, 2013 at 11:27:55AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com We now have pmd entries covering to 16MB range. To implement THP on powerpc, we double the size of PMD. The second half is used to

Re: [PATCH -V5 17/25] powerpc/THP: Implement transparent hugepages for ppc64

2013-04-11 Thread David Gibson
On Thu, Apr 11, 2013 at 01:10:29PM +0530, Aneesh Kumar K.V wrote: David Gibson d...@au1.ibm.com writes: On Thu, Apr 04, 2013 at 11:27:55AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com We now have pmd entries covering to 16MB range. To implement

Re: [PATCH -V5 17/25] powerpc/THP: Implement transparent hugepages for ppc64

2013-04-11 Thread Aneesh Kumar K.V
David Gibson d...@au1.ibm.com writes: On Thu, Apr 11, 2013 at 01:10:29PM +0530, Aneesh Kumar K.V wrote: David Gibson d...@au1.ibm.com writes: On Thu, Apr 04, 2013 at 11:27:55AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com We now have pmd

Re: [PATCH -V5 17/25] powerpc/THP: Implement transparent hugepages for ppc64

2013-04-11 Thread David Gibson
On Fri, Apr 12, 2013 at 10:36:58AM +0530, Aneesh Kumar K.V wrote: David Gibson d...@au1.ibm.com writes: On Thu, Apr 11, 2013 at 01:10:29PM +0530, Aneesh Kumar K.V wrote: David Gibson d...@au1.ibm.com writes: On Thu, Apr 04, 2013 at 11:27:55AM +0530, Aneesh Kumar K.V wrote: From:

Re: [PATCH -V5 17/25] powerpc/THP: Implement transparent hugepages for ppc64

2013-04-10 Thread David Gibson
On Thu, Apr 04, 2013 at 11:27:55AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com We now have pmd entries covering to 16MB range. To implement THP on powerpc, we double the size of PMD. The second half is used to deposit the pgtable (PTE page). We

[PATCH -V5 17/25] powerpc/THP: Implement transparent hugepages for ppc64

2013-04-04 Thread Aneesh Kumar K.V
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com We now have pmd entries covering to 16MB range. To implement THP on powerpc, we double the size of PMD. The second half is used to deposit the pgtable (PTE page). We also use the depoisted PTE page for tracking the HPTE information. The