Re: [RFC v9 PATCH 2/4] mm: mmap: zap pages with read mmap_sem in munmap

From: Matthew Wilcox
Date: Tue Sep 11 2018 - 17:16:53 EST


On Wed, Sep 12, 2018 at 04:58:11AM +0800, Yang Shi wrote:
> mm/mmap.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--

I really think you're going about this the wrong way by duplicating
vm_munmap().