diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2014-01-21 15:49:09 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-21 16:19:44 -0800 |
commit | e8569dd299dbc7bac878325c0bdc7aa449eae479 (patch) | |
tree | dd512bba20e9413ee8bf1a0eff169d9e017051ad /include/linux/mempolicy.h | |
parent | 549543dff797ae1081f61a69f8511c61806c3735 (diff) | |
download | linux-stable-e8569dd299dbc7bac878325c0bdc7aa449eae479.tar.gz linux-stable-e8569dd299dbc7bac878325c0bdc7aa449eae479.tar.bz2 linux-stable-e8569dd299dbc7bac878325c0bdc7aa449eae479.zip |
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 'include/linux/mempolicy.h')
0 files changed, 0 insertions, 0 deletions