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

2016-09-12 Thread Robert Foss
Hey Oleg! Thanks for the feedback, I'll keep it in mind, but currently it looks like the patch is on ice for non-implementation related reasons. Rob. @@ -2854,6 +2854,7 @@ static const struct pid_entry tgid_base_stuff[] = { REG("clear_refs", S_IWUSR, proc_clear_refs_operations),

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

2016-09-07 Thread Oleg Nesterov
On 09/05, robert.f...@collabora.com wrote: > > @@ -2854,6 +2854,7 @@ static const struct pid_entry tgid_base_stuff[] = { > REG("clear_refs", S_IWUSR, proc_clear_refs_operations), > REG("smaps", S_IRUGO, proc_pid_smaps_operations), > REG("pagemap",S_IRUSR,

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

2016-09-05 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