perf_counter: optimize mmap/comm tracking
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 9 Apr 2009 08:53:44 +0000 (10:53 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Apr 2009 09:50:43 +0000 (11:50 +0200)
Impact: performance optimization

The mmap/comm tracking code does quite a lot of work before it discovers
there's no interest in it, avoid that by keeping a counter.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
LKML-Reference: <20090409085524.427173196@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found