]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: split hugepage when using subpage protection
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 20 Jun 2013 09:00:25 +0000 (14:30 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jun 2013 06:01:57 +0000 (16:01 +1000)
commit3248e9a9246a500d6a9b2b92c5bbe8936f4440c4
tree1a073713fca82f117006b03efed2592fa24946d5
parent9e888727cde743eba61e38bf4c321e743c58f404
powerpc: split hugepage when using subpage protection

We find all the overlapping vma and mark them such that we don't allocate
hugepage in that range. Also we split existing huge page so that the
normal page hash can be invalidated and new page faulted in with new
protection bits.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/subpage-prot.c