Re: [RFC v5 PATCH 1/2] mm: refactor do_munmap() to extract the common part

2018-07-24 Thread Laurent Dufour
On 19/07/2018 01:21, Yang Shi wrote: > Introduces three new helper functions: > * munmap_addr_sanity() > * munmap_lookup_vma() > * munmap_mlock_vma() > > They will be used by do_munmap() and the new do_munmap with zapping > large mapping early in the later patch. > > There is no functional

[RFC v5 PATCH 1/2] mm: refactor do_munmap() to extract the common part

2018-07-18 Thread Yang Shi
Introduces three new helper functions: * munmap_addr_sanity() * munmap_lookup_vma() * munmap_mlock_vma() They will be used by do_munmap() and the new do_munmap with zapping large mapping early in the later patch. There is no functional change, just code refactor. Signed-off-by: Yang Shi -