Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1707253

Re: [PATCH] mm/rmap/mmu_notifier: restore mmu_notifier_invalidate_page() semantic

From "Kirill A. Shutemov" <kirill@shutemov.name>
Newsgroups linux.kernel
Subject Re: [PATCH] mm/rmap/mmu_notifier: restore mmu_notifier_invalidate_page() semantic
Date 2017-08-09 12:30 +0200
Message-ID <ucwpr-5Qr-3@gated-at.bofh.it> (permalink)
References <uckRk-6mw-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 08, 2017 at 06:08:20PM -0400, jglisse@redhat.com wrote:
> From: Jérôme Glisse <jglisse@redhat.com>
> 
> Commit c7ab0d2fdc840266b39db94538f74207ec2afbf6 silently modified
> semantic of mmu_notifier_invalidate_page() this patch restore it
> to its previous semantic ie allowing to sleep inside invalidate_page()
> callback.
> 
> Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

The issue in page_mkclean_one() was addressed recently by this:

http://lkml.kernel.org/r/20170804134928.l4klfcnqatni7vsc@black.fi.intel.com

(I think mmu_notifier_invalidate_range() it better in the situation, right?)

But I've missed try_to_unmap_one(). Could you prepare patch for this one?

-- 
 Kirill A. Shutemov

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] mm/rmap/mmu_notifier: restore mmu_notifier_invalidate_page() semantic jglisse@redhat.com - 2017-08-09 00:10 +0200
  Re: [PATCH] mm/rmap/mmu_notifier: restore  mmu_notifier_invalidate_page() semantic "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-08-09 12:30 +0200

csiph-web