Re: [PACTH v2 1/3] mm, proc: Implement /proc//totmaps

2016-08-15 Thread Robert Foss
On 2016-08-15 09:57 AM, Robert Foss wrote: On 2016-08-13 10:39 AM, Jann Horn wrote: On Fri, Aug 12, 2016 at 06:04:20PM -0400, robert.f...@collabora.com wrote: diff --git a/fs/proc/internal.h b/fs/proc/internal.h index aa27810..c55e1fe 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h

Re: [PACTH v2 1/3] mm, proc: Implement /proc//totmaps

2016-08-15 Thread Robert Foss
On 2016-08-13 10:39 AM, Jann Horn wrote: On Fri, Aug 12, 2016 at 06:04:20PM -0400, robert.f...@collabora.com wrote: diff --git a/fs/proc/internal.h b/fs/proc/internal.h index aa27810..c55e1fe 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -281,6 +281,7 @@ struct proc_maps_private

Re: [PACTH v2 1/3] mm, proc: Implement /proc//totmaps

2016-08-13 Thread Jann Horn
On Fri, Aug 12, 2016 at 06:04:20PM -0400, robert.f...@collabora.com wrote: > diff --git a/fs/proc/internal.h b/fs/proc/internal.h > index aa27810..c55e1fe 100644 > --- a/fs/proc/internal.h > +++ b/fs/proc/internal.h > @@ -281,6 +281,7 @@ struct proc_maps_private { > struct mm_struct *mm; > #

[PACTH v2 1/3] mm, proc: Implement /proc//totmaps

2016-08-12 Thread robert . foss
From: Robert Foss This is based on earlier work by Thiago Goncales. It implements a new per process proc file which summarizes the contents of the smaps file but doesn't display any addresses. It gives more detailed information than statm like the PSS (proprotional set size). It differs from th