From: Kirill A. Shutemov Date: Wed, 12 Dec 2012 21:50:57 +0000 (-0800) Subject: thp: change_huge_pmd(): make sure we don't try to make a page writable X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~33^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cad7f613c4d010e1d0f05c9a4fb33c7ae40ba115;p=pandora-kernel.git thp: change_huge_pmd(): make sure we don't try to make a page writable mprotect core never tries to make page writable using change_huge_pmd(). Let's add an assert that the assumption is true. It's important to be sure we will not make huge zero page writable. Signed-off-by: Kirill A. Shutemov Cc: Andrea Arcangeli Cc: Andi Kleen Cc: "H. Peter Anvin" Cc: Mel Gorman Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed