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>