On Friday 09 December 2016 12:55 PM, Xunlei Pang wrote:
> > Anyway, with per_cpu data we will not need this.
How about we list modules and tasks separately, like:
Tasks:
pid comm peak memory(in no of pages)
1161 bash 3319
1805 <...> 29
... ...
Modules:
name loaded by task-pid memory consumption during
loading
xfs modprobe-123 10
... ...
Then, we can integrate the kernel modules memory consumption during loading together.
Yes, that can be doable.
Will wait for more review comments before I start implementing new version.
~Pratyush