Re: [PATCH 1/2] mm, vmstat: Release zone lock more frequently when reading /proc/pagetypeinfo

2019-10-23 Thread Waiman Long
On 10/23/19 2:01 PM, Michal Hocko wrote: > On Wed 23-10-19 13:34:22, Waiman Long wrote: >> With a threshold of 10, it is still possible that the zone lock >> will be held for a very long time in the worst case scenario where all >> the counts are just below the threshold. With up to 6

Re: [PATCH 1/2] mm, vmstat: Release zone lock more frequently when reading /proc/pagetypeinfo

2019-10-23 Thread Michal Hocko
On Wed 23-10-19 13:34:22, Waiman Long wrote: > With a threshold of 10, it is still possible that the zone lock > will be held for a very long time in the worst case scenario where all > the counts are just below the threshold. With up to 6 migration types > and 11 orders, it means up to 6.6

[PATCH 1/2] mm, vmstat: Release zone lock more frequently when reading /proc/pagetypeinfo

2019-10-23 Thread Waiman Long
With a threshold of 10, it is still possible that the zone lock will be held for a very long time in the worst case scenario where all the counts are just below the threshold. With up to 6 migration types and 11 orders, it means up to 6.6 millions. Track the total number of list iterations