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

2018-08-07 Thread Yang Shi
On 8/7/18 7:59 AM, Vlastimil Babka wrote: On 07/26/2018 08:10 PM, 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 l

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

2018-08-07 Thread Vlastimil Babka
On 07/26/2018 08:10 PM, 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 function

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

2018-08-06 Thread Yang Shi
On 8/6/18 6:26 AM, Michal Hocko wrote: On Fri 03-08-18 13:47:19, Yang Shi wrote: On 8/3/18 1:53 AM, Michal Hocko wrote: On Fri 27-07-18 02:10:13, Yang Shi wrote: Introduces three new helper functions: * munmap_addr_sanity() * munmap_lookup_vma() * munmap_mlock_vma() They will

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

2018-08-06 Thread Michal Hocko
On Fri 03-08-18 13:47:19, Yang Shi wrote: > > > On 8/3/18 1:53 AM, Michal Hocko wrote: > > On Fri 27-07-18 02:10:13, Yang Shi wrote: > > > Introduces three new helper functions: > > >* munmap_addr_sanity() > > >* munmap_lookup_vma() > > >* munmap_mlock_vma() > > > > > > They will be

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

2018-08-03 Thread Yang Shi
On 8/3/18 1:53 AM, Michal Hocko wrote: On Fri 27-07-18 02:10:13, 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 la

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

2018-08-03 Thread Michal Hocko
On Fri 27-07-18 02:10:13, 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 functi