]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/THP: deposit the transpare huge pgtable before set_pmd
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 23 May 2013 00:37:16 +0000 (10:37 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 27 May 2013 06:09:04 +0000 (16:09 +1000)
commit88dddadb3a9d753379b766018f002cb6a5d4639f
tree3ebc9d5042a4de175c14abf2cd693b068f88f1d1
parent29fdc138e168276f0452262d9df1ee9788b1ce7f
mm/THP: deposit the transpare huge pgtable before set_pmd

Architectures like powerpc use the deposited pgtable to store hash index
values.  We need to make the deposted pgtable is visible to other cpus
before we are ready to take a hash fault.

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