Re: [RFC v10 PATCH 3/3] mm: unmap VM_PFNMAP mappings with optimized path

From: Matthew Wilcox
Date: Sat Sep 15 2018 - 05:45:24 EST


On Sat, Sep 15, 2018 at 04:34:59AM +0800, Yang Shi wrote:
> When unmapping VM_PFNMAP mappings, vm flags need to be updated. Since
> the vmas have been detached, so it sounds safe to update vm flags with
> read mmap_sem.
>
> Cc: Michal Hocko <mhocko@xxxxxxxxxx>
> Cc: Vlastimil Babka <vbabka@xxxxxxx>
> Signed-off-by: Yang Shi <yang.shi@xxxxxxxxxxxxxxxxx>

Reviewed-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>