Re: [PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-19 Thread Robert Foss
On 2016-09-19 03:32 PM, Michal Hocko wrote: On Mon 19-09-16 11:16:31, Robert Foss wrote: On 2016-09-14 05:12 AM, Michal Hocko wrote: On Tue 13-09-16 13:27:39, Sonny Rao wrote: [...] Given that smaps doesn't provide this in a straightforward way, what do you think is the right way to

Re: [PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-19 Thread Sonny Rao
On Mon, Sep 19, 2016 at 12:56 PM, Jann Horn wrote: > On Mon, Sep 19, 2016 at 09:51:13PM +0200, Michal Hocko wrote: >> [not sure why the CC list was trimmed - do no do that please unless you >> have a strong reason for that - if this was not intentional please >> restpre it] > >

Re: [PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-19 Thread Jann Horn
On Mon, Sep 19, 2016 at 09:51:13PM +0200, Michal Hocko wrote: > [not sure why the CC list was trimmed - do no do that please unless you > have a strong reason for that - if this was not intentional please > restpre it] Ah, sorry, pressed the wrong key. > On Mon 19-09-16 21:40:01, Jann Horn

Re: [PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-19 Thread Michal Hocko
On Mon 19-09-16 11:16:31, Robert Foss wrote: > On 2016-09-14 05:12 AM, Michal Hocko wrote: > > On Tue 13-09-16 13:27:39, Sonny Rao wrote: [...] > > > Given that smaps > > > doesn't provide this in a straightforward way, what do you think is > > > the right way to provide this information? > > > >

Re: [PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-14 Thread Michal Hocko
On Tue 13-09-16 13:27:39, Sonny Rao wrote: > On Tue, Sep 13, 2016 at 12:12 AM, Michal Hocko wrote: > > On Mon 12-09-16 10:28:53, Sonny Rao wrote: > >> On Mon, Sep 12, 2016 at 10:15 AM, Michal Hocko wrote: > >> > On Mon 12-09-16 08:31:36, Sonny Rao wrote: > >

Re: [PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-13 Thread Sonny Rao
On Tue, Sep 13, 2016 at 12:12 AM, Michal Hocko wrote: > On Mon 12-09-16 10:28:53, Sonny Rao wrote: >> On Mon, Sep 12, 2016 at 10:15 AM, Michal Hocko wrote: >> > On Mon 12-09-16 08:31:36, Sonny Rao wrote: > [...] >> >> but how about the other fields like

Re: [PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-13 Thread Michal Hocko
On Mon 12-09-16 10:28:53, Sonny Rao wrote: > On Mon, Sep 12, 2016 at 10:15 AM, Michal Hocko wrote: > > On Mon 12-09-16 08:31:36, Sonny Rao wrote: [...] > >> but how about the other fields like Swap, Private_Dirty and > >> Private_Shared? > > > > Private_Shared can be pretty

Re: [PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-12 Thread Sonny Rao
On Mon, Sep 12, 2016 at 10:15 AM, Michal Hocko wrote: > On Mon 12-09-16 08:31:36, Sonny Rao wrote: >> On Mon, Sep 12, 2016 at 5:02 AM, Michal Hocko wrote: >> > On Mon 05-09-16 16:14:06, robert.f...@collabora.com wrote: >> >> From: Robert Foss

Re: [PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-12 Thread Michal Hocko
On Mon 12-09-16 08:31:36, Sonny Rao wrote: > On Mon, Sep 12, 2016 at 5:02 AM, Michal Hocko wrote: > > On Mon 05-09-16 16:14:06, robert.f...@collabora.com wrote: > >> From: Robert Foss > >> > >> This series provides the /proc/PID/totmaps feature,

Re: [PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-12 Thread Sonny Rao
On Mon, Sep 12, 2016 at 5:02 AM, Michal Hocko wrote: > On Mon 05-09-16 16:14:06, robert.f...@collabora.com wrote: >> From: Robert Foss >> >> This series provides the /proc/PID/totmaps feature, which >> summarizes the information provided by

[PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-05 Thread robert . foss
From: Robert Foss This series provides the /proc/PID/totmaps feature, which summarizes the information provided by /proc/PID/smaps for improved performance and usability reasons. A use case is to speed up monitoring of memory consumption in environments where RSS