]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/THP: add pmd args to pgtable deposit and withdraw APIs
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 19 Jun 2013 00:05:56 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:58 +0000 (17:12 +1000)
commit90ffe3cfb6e33928a88005509108668352ee02af
tree839120504b97c6af7ad5ca0ae50d96fad9afcb29
parent5fdca13c18dbab4ec6fd7ceed9d5c8b853beecbc
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>
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