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

From: Ingo Molnar
Date: Thu Dec 10 2009 - 03:33:36 EST



* KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/