Revision aac2fea94f7a3df8ad1eeb477eb2643f81fd5393 authored by Kirill A. Shutemov on 10 August 2017, 22:24:27 UTC, committed by Linus Torvalds on 10 August 2017, 22:54:07 UTC
MMU notifiers can sleep, but in page_mkclean_one() we call mmu_notifier_invalidate_page() under page table lock. Let's instead use mmu_notifier_invalidate_range() outside page_vma_mapped_walk() loop. [jglisse@redhat.com: try_to_unmap_one() do not call mmu_notifier under ptl] Link: http://lkml.kernel.org/r/20170809204333.27485-1-jglisse@redhat.com Link: http://lkml.kernel.org/r/20170804134928.l4klfcnqatni7vsc@black.fi.intel.com Fixes: c7ab0d2fdc84 ("mm: convert try_to_unmap_one() to use page_vma_mapped_walk()") Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Jérôme Glisse <jglisse@redhat.com> Reported-by: axie <axie@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Writer, Tim" <Tim.Writer@amd.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent d041353
File | Mode | Size |
---|---|---|
asm | ||
linux | ||
ringtest | ||
uapi | ||
vhost_test | ||
virtio-trace | ||
.gitignore | -rw-r--r-- | 28 bytes |
Makefile | -rw-r--r-- | 594 bytes |
virtio_test.c | -rw-r--r-- | 6.7 KB |
vringh_test.c | -rw-r--r-- | 19.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...