Re: [PATCH] mm: workingset: fix premature shadow node shrinking with cgroups

2017-03-23 Thread Vladimir Davydov
On Tue, Mar 21, 2017 at 08:53:20PM -0400, Johannes Weiner wrote: > 0a6b76dd23fa ("mm: workingset: make shadow node shrinker memcg aware") > enabled cgroup-awareness in the shadow node shrinker, but forgot to > also enable cgroup-awareness in the list_lru the shadow nodes sit on. > > Consequently,

Re: [PATCH] mm: workingset: fix premature shadow node shrinking with cgroups

2017-03-23 Thread Vladimir Davydov
On Tue, Mar 21, 2017 at 08:53:20PM -0400, Johannes Weiner wrote: > 0a6b76dd23fa ("mm: workingset: make shadow node shrinker memcg aware") > enabled cgroup-awareness in the shadow node shrinker, but forgot to > also enable cgroup-awareness in the list_lru the shadow nodes sit on. > > Consequently,

[PATCH] mm: workingset: fix premature shadow node shrinking with cgroups

2017-03-21 Thread Johannes Weiner
0a6b76dd23fa ("mm: workingset: make shadow node shrinker memcg aware") enabled cgroup-awareness in the shadow node shrinker, but forgot to also enable cgroup-awareness in the list_lru the shadow nodes sit on. Consequently, all shadow nodes are sitting on a global (per-NUMA node) list, while the

[PATCH] mm: workingset: fix premature shadow node shrinking with cgroups

2017-03-21 Thread Johannes Weiner
0a6b76dd23fa ("mm: workingset: make shadow node shrinker memcg aware") enabled cgroup-awareness in the shadow node shrinker, but forgot to also enable cgroup-awareness in the list_lru the shadow nodes sit on. Consequently, all shadow nodes are sitting on a global (per-NUMA node) list, while the