diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2017-08-11 00:24:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-08-11 00:54:07 +0200 |
commit | aac2fea94f7a3df8ad1eeb477eb2643f81fd5393 (patch) | |
tree | 95ee6a145bf9308130fc0c672c968bc73458f8e1 /include/sound/es1688.h | |
parent | mm: fix list corruptions on shmem shrinklist (diff) | |
download | linux-aac2fea94f7a3df8ad1eeb477eb2643f81fd5393.tar.xz linux-aac2fea94f7a3df8ad1eeb477eb2643f81fd5393.zip |
rmap: do not call mmu_notifier_invalidate_page() under ptl
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>
Diffstat (limited to 'include/sound/es1688.h')
0 files changed, 0 insertions, 0 deletions