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)
commit6b0b50b0617fad5f2af3b928596a25f7de8dbf50
treeaf777bf2041da281fff0ecf9503ed421ee8591ec
parent8663890a9e9278623d20c67aa9fbeeb31ff3be97
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