From: Tony Lu Date: Mon, 4 Feb 2013 22:28:46 +0000 (-0800) Subject: mm/hugetlb: set PTE as huge in hugetlb_change_protection and remove_migration_pte X-Git-Tag: v3.8-rc7~16^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be7517d6ab9722f0abad6ba5ffd39cfced95549c;p=pandora-kernel.git mm/hugetlb: set PTE as huge in hugetlb_change_protection and remove_migration_pte When setting a huge PTE, besides calling pte_mkhuge(), we also need to call arch_make_huge_pte(), which we indeed do in make_huge_pte(), but we forget to do in hugetlb_change_protection() and remove_migration_pte(). Signed-off-by: Zhigang Lu Signed-off-by: Chris Metcalf Reviewed-by: Michal Hocko Acked-by: Hillf Danton Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed