]> git.baikalelectronics.ru Git - kernel.git/commit
mm/THP: add pmd args to pgtable deposit and withdraw APIs
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 6 Jun 2013 00:14:02 +0000 (17:14 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 06:55:07 +0000 (16:55 +1000)
commit80e6c77c94d7163d482f155a64f814570f0e0920
treeaf777bf2041da281fff0ecf9503ed421ee8591ec
parent03cabc52fe9de46e63fb5951a75c97af899febe9
mm/THP: add pmd args to pgtable deposit and withdraw APIs

This will be later used by powerpc THP support.  In powerpc we want to use
pgtable for storing the hash index values.  So instead of adding them to
mm_context list, we would like to store them in the second half of pmd

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/s390/include/asm/pgtable.h
arch/s390/mm/pgtable.c
arch/sparc/include/asm/pgtable_64.h
arch/sparc/mm/tlb.c
include/asm-generic/pgtable.h
mm/huge_memory.c
mm/pgtable-generic.c