Re: [RFC mm][PATCH 2/5] percpu cached mm counter

Ingo Molnar
2009-12-10T08:33:27Z

* KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

> I'm sorry If I miss your point...are you saying remove all mm_counter
> completely and remake them under perf ? If so, some proc file
> (/proc/<pid>/statm etc) will be corrupted ?

No, i'm not suggesting that - i'm just suggesting that right now MM
stats are not very well suited to be exposed via perf. If we wanted to
measure/sample the information in /proc/<pid>/statm it just wouldnt be
possible. We have a few events like pagefaults and a few tracepoints as
well - but more would be possible IMO.

Ingo