Re: [PATCH] mm: memcontrol: provide shmem statistics

2017-02-22 Thread Michal Hocko
On Wed 22-02-17 07:45:01, Johannes Weiner wrote: > On Wed, Feb 22, 2017 at 09:12:31AM +0100, Michal Hocko wrote: > > On Tue 21-02-17 11:43:43, Johannes Weiner wrote: > > > Cgroups currently don't report how much shmem they use, which can be > > > useful data to have, in particular since shmem is

Re: [PATCH] mm: memcontrol: provide shmem statistics

2017-02-22 Thread Michal Hocko
On Wed 22-02-17 07:45:01, Johannes Weiner wrote: > On Wed, Feb 22, 2017 at 09:12:31AM +0100, Michal Hocko wrote: > > On Tue 21-02-17 11:43:43, Johannes Weiner wrote: > > > Cgroups currently don't report how much shmem they use, which can be > > > useful data to have, in particular since shmem is

Re: [PATCH] mm: memcontrol: provide shmem statistics

2017-02-22 Thread Johannes Weiner
On Wed, Feb 22, 2017 at 09:12:31AM +0100, Michal Hocko wrote: > On Tue 21-02-17 11:43:43, Johannes Weiner wrote: > > Cgroups currently don't report how much shmem they use, which can be > > useful data to have, in particular since shmem is included in the > > cache/file item while being reclaimed

Re: [PATCH] mm: memcontrol: provide shmem statistics

2017-02-22 Thread Johannes Weiner
On Wed, Feb 22, 2017 at 09:12:31AM +0100, Michal Hocko wrote: > On Tue 21-02-17 11:43:43, Johannes Weiner wrote: > > Cgroups currently don't report how much shmem they use, which can be > > useful data to have, in particular since shmem is included in the > > cache/file item while being reclaimed

Re: [PATCH] mm: memcontrol: provide shmem statistics

2017-02-22 Thread Michal Hocko
On Tue 21-02-17 11:43:43, Johannes Weiner wrote: > Cgroups currently don't report how much shmem they use, which can be > useful data to have, in particular since shmem is included in the > cache/file item while being reclaimed like anonymous memory. > > Add a counter to track shmem pages during

Re: [PATCH] mm: memcontrol: provide shmem statistics

2017-02-22 Thread Michal Hocko
On Tue 21-02-17 11:43:43, Johannes Weiner wrote: > Cgroups currently don't report how much shmem they use, which can be > useful data to have, in particular since shmem is included in the > cache/file item while being reclaimed like anonymous memory. > > Add a counter to track shmem pages during

Re: [PATCH] mm: memcontrol: provide shmem statistics

2017-02-21 Thread Balbir Singh
On Tue, Feb 21, 2017 at 11:43:43AM -0500, Johannes Weiner wrote: > Cgroups currently don't report how much shmem they use, which can be > useful data to have, in particular since shmem is included in the > cache/file item while being reclaimed like anonymous memory. > > Add a counter to track

Re: [PATCH] mm: memcontrol: provide shmem statistics

2017-02-21 Thread Balbir Singh
On Tue, Feb 21, 2017 at 11:43:43AM -0500, Johannes Weiner wrote: > Cgroups currently don't report how much shmem they use, which can be > useful data to have, in particular since shmem is included in the > cache/file item while being reclaimed like anonymous memory. > > Add a counter to track

[PATCH] mm: memcontrol: provide shmem statistics

2017-02-21 Thread Johannes Weiner
Cgroups currently don't report how much shmem they use, which can be useful data to have, in particular since shmem is included in the cache/file item while being reclaimed like anonymous memory. Add a counter to track shmem pages during charging and uncharging. Reported-by: Chris Down

[PATCH] mm: memcontrol: provide shmem statistics

2017-02-21 Thread Johannes Weiner
Cgroups currently don't report how much shmem they use, which can be useful data to have, in particular since shmem is included in the cache/file item while being reclaimed like anonymous memory. Add a counter to track shmem pages during charging and uncharging. Reported-by: Chris Down