[4/4] mm: Some arch may want to use HPAGE_PMD related values as variables

Michael Ellerman mpe at ellerman.id.au
Fri Mar 4 11:40:09 AEDT 2016


On Tue, 2016-01-03 at 04:15:14 UTC, "Aneesh Kumar K.V" wrote:
> From: "Kirill A. Shutemov" <kirill.shutemov at linux.intel.com>
> 
> With next generation power processor, we are having a new mmu model
> [1] that require us to maintain a different linux page table format.
> 
> Inorder to support both current and future ppc64 systems with a single
> kernel we need to make sure kernel can select between different page
> table format at runtime. With the new MMU (radix MMU) added, we will
> have two different pmd hugepage size 16MB for hash model and 2MB for
> Radix model. Hence make HPAGE_PMD related values as a variable.
> 
> Actual conversion of HPAGE_PMD to a variable for ppc64 happens in a
> followup patch.
> 
> [1] http://ibm.biz/power-isa3 (Needs registration).
> 
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov at linux.intel.com>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/ff20c2e0acc5ad7e27c68592ad

cheers


More information about the Linuxppc-dev mailing list