Re: [PATCH v2] mm: workingset: make workingset detection logic memcg aware

2016-01-26 Thread Vladimir Davydov
On Mon, Jan 25, 2016 at 11:39:07AM -0500, Johannes Weiner wrote: > On Sun, Jan 24, 2016 at 07:56:16PM +0300, Vladimir Davydov wrote: > > Currently, inactive_age is maintained per zone, which results in > > unexpected file page activations in case memory cgroups are used. For > > example, if the tot

Re: [PATCH v2] mm: workingset: make workingset detection logic memcg aware

2016-01-25 Thread Johannes Weiner
On Sun, Jan 24, 2016 at 07:56:16PM +0300, Vladimir Davydov wrote: > Currently, inactive_age is maintained per zone, which results in > unexpected file page activations in case memory cgroups are used. For > example, if the total number of active pages is big, a memory cgroup > might get every refau

[PATCH v2] mm: workingset: make workingset detection logic memcg aware

2016-01-24 Thread Vladimir Davydov
Currently, inactive_age is maintained per zone, which results in unexpected file page activations in case memory cgroups are used. For example, if the total number of active pages is big, a memory cgroup might get every refaulted file page activated even if refault distance is much greater than the