From: Andreas Sandberg Date: Tue, 21 Jan 2014 23:49:09 +0000 (-0800) Subject: mm/hugetlb.c: call MMU notifiers when copying a hugetlb page range X-Git-Tag: v3.14-rc1~134^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8569dd299dbc7bac878325c0bdc7aa449eae479;p=pandora-kernel.git mm/hugetlb.c: call MMU notifiers when copying a hugetlb page range When copy_hugetlb_page_range() is called to copy a range of hugetlb mappings, the secondary MMUs are not notified if there is a protection downgrade, which breaks COW semantics in KVM. This patch adds the necessary MMU notifier calls. Signed-off-by: Andreas Sandberg Acked-by: Steve Capper Acked-by: Marc Zyngier Cc: Mel Gorman Cc: Rik van Riel Cc: Hugh Dickins Cc: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed