Re: [PATCH v2 0/2] Try to release mmap_lock temporarily in smaps_rollup

2020-08-14 Thread Michel Lespinasse
On Thu, Aug 13, 2020 at 9:11 AM Chinwen Chang wrote: > On Thu, 2020-08-13 at 02:53 -0700, Michel Lespinasse wrote: > > On Wed, Aug 12, 2020 at 7:14 PM Chinwen Chang > > wrote: > > > Recently, we have observed some janky issues caused by unpleasantly long > > > contention on mmap_lock which is hel

Re: [PATCH v2 0/2] Try to release mmap_lock temporarily in smaps_rollup

2020-08-13 Thread Chinwen Chang
On Thu, 2020-08-13 at 02:53 -0700, Michel Lespinasse wrote: > On Wed, Aug 12, 2020 at 7:14 PM Chinwen Chang > wrote: > > Recently, we have observed some janky issues caused by unpleasantly long > > contention on mmap_lock which is held by smaps_rollup when probing large > > processes. To address t

Re: [PATCH v2 0/2] Try to release mmap_lock temporarily in smaps_rollup

2020-08-13 Thread Michel Lespinasse
On Wed, Aug 12, 2020 at 7:14 PM Chinwen Chang wrote: > Recently, we have observed some janky issues caused by unpleasantly long > contention on mmap_lock which is held by smaps_rollup when probing large > processes. To address the problem, we let smaps_rollup detect if anyone > wants to acquire mm

[PATCH v2 0/2] Try to release mmap_lock temporarily in smaps_rollup

2020-08-12 Thread Chinwen Chang
Recently, we have observed some janky issues caused by unpleasantly long contention on mmap_lock which is held by smaps_rollup when probing large processes. To address the problem, we let smaps_rollup detect if anyone wants to acquire mmap_lock for write attempts. If yes, just release the lock temp