]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitd8e355a20f9dd45deea4c33db649dda59bdbd293
tree1a073713fca82f117006b03efed2592fa24946d5
parenta00e7bea0dde6a44b9bbe84f30b731d9ec73858b
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