From: Johannes Weiner Date: Thu, 13 Jan 2011 23:47:04 +0000 (-0800) Subject: thp: mprotect: transparent huge page support X-Git-Tag: v2.6.38-rc1~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd7548ab360c462118568eebb8c6da3bc303b02e;p=pandora-kernel.git thp: mprotect: transparent huge page support Natively handle huge pmds when changing page tables on behalf of mprotect(). I left out update_mmu_cache() because we do not need it on x86 anyway but more importantly the interface works on ptes, not pmds. Signed-off-by: Johannes Weiner Signed-off-by: Andrea Arcangeli Reviewed-by: Rik van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed