Re: [PATCH v3 3/3] mm: proc: smaps_rollup: do not stall write attempts on mmap_lock

2020-08-17 Thread Chinwen Chang
On Mon, 2020-08-17 at 09:38 +0100, Steven Price wrote: > On 15/08/2020 07:20, Chinwen Chang wrote: > > smaps_rollup will try to grab mmap_lock and go through the whole vma > > list until it finishes the iterating. When encountering large processes, > > the mmap_lock will be held for a longer time,

Re: [PATCH v3 3/3] mm: proc: smaps_rollup: do not stall write attempts on mmap_lock

2020-08-17 Thread Steven Price
On 15/08/2020 07:20, Chinwen Chang wrote: smaps_rollup will try to grab mmap_lock and go through the whole vma list until it finishes the iterating. When encountering large processes, the mmap_lock will be held for a longer time, which may block other write requests like mmap and munmap from