Re: [PATCH 2/4] mm: proc/pid/smaps: factor out mem stats gathering

2018-07-30 Thread Vlastimil Babka
(moved thread here) On 07/26/2018 06:21 PM, Alexey Dobriyan wrote: > On Wed, Jul 25, 2018 at 08:55:17AM +0200, Vlastimil Babka wrote: >> On 07/24/2018 08:24 PM, Alexey Dobriyan wrote: >>> On Mon, Jul 23, 2018 at 04:55:46PM -0700, a...@linux-foundation.org wrote: The patch titled Sub

[PATCH 2/4] mm: proc/pid/smaps: factor out mem stats gathering

2018-07-23 Thread Vlastimil Babka
To prepare for handling /proc/pid/smaps_rollup differently from /proc/pid/smaps factor out vma mem stats gathering from show_smap() - it will be used by both. Signed-off-by: Vlastimil Babka --- fs/proc/task_mmu.c | 55 ++ 1 file changed, 31 insertions(