summaryrefslogtreecommitdiffstats
path: root/mm/workingset.c
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.vnet.ibm.com>2017-08-02 22:31:55 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-08-03 01:34:46 +0200
commitb22823719302e88d0e2a6bb06433bd97b175a8d8 (patch)
tree2851b38cbb8e223d23a35b7150e5071edaeaabe1 /mm/workingset.c
parentmm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving... (diff)
downloadlinux-b22823719302e88d0e2a6bb06433bd97b175a8d8.tar.xz
linux-b22823719302e88d0e2a6bb06433bd97b175a8d8.zip
userfaultfd: non-cooperative: notify about unmap of destination during mremap
When mremap is called with MREMAP_FIXED it unmaps memory at the destination address without notifying userfaultfd monitor. If the destination were registered with userfaultfd, the monitor has no way to distinguish between the old and new ranges and to properly relate the page faults that would occur in the destination region. Fixes: 897ab3e0c49e ("userfaultfd: non-cooperative: add event for memory unmaps") Link: http://lkml.kernel.org/r/1500276876-3350-1-git-send-email-rppt@linux.vnet.ibm.com Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Acked-by: Pavel Emelyanov <xemul@virtuozzo.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/workingset.c')
0 files changed, 0 insertions, 0 deletions