lkml.org 
[lkml]   [2017]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm/rmap/mmu_notifier: restore mmu_notifier_invalidate_page() semantic
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

\
 
 \ /
  Last update: 2017-08-09 12:28    [W:0.055 / U:1.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site