Re: [PATCH] mm/rmap/mmu_notifier: restore mmu_notifier_invalidate_page() semantic
From: Kirill A. Shutemov
Date: Wed Aug 09 2017 - 06:27:53 EST
On Tue, Aug 08, 2017 at 06:08:20PM -0400, jglisse@xxxxxxxxxx wrote:
> From: Jérôme Glisse <jglisse@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
The issue in page_mkclean_one() was addressed recently by this:
http://lkml.kernel.org/r/20170804134928.l4klfcnqatni7vsc@xxxxxxxxxxxxxxxxxx
(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