]> 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>
Wed, 19 Jun 2013 00:05:57 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:59 +0000 (17:12 +1000)
commit81c678891caac9e2078b498a4fa2e3f65f3555fd
tree8f2a67304635fd6032818f60065290b44d1747b3
parent0f9288d83fe0e3eb3e499ffc7a984e1a065ed863
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