diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2014-01-21 15:49:09 -0800 |
---|---|---|
committer | Steve Capper <steve.capper@linaro.org> | 2014-03-05 15:04:50 +0800 |
commit | 1bf5c38e784b8a4fd7fcc820ea79366e9716b447 (patch) | |
tree | 61018b97228be217357c86580363737679c7379d /arch | |
parent | e087bc5eb1ff9c47e9700c78f9d9d72b865f30ab (diff) |
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 <andreas@sandberg.pp.se>
Acked-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions