diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-04-09 10:53:44 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-09 11:50:43 +0200 |
commit | 9ee318a7825929bc3734110b83ae8e20e53d9de3 (patch) | |
tree | 4823b4e82bb99971559d3569c7f4d710ac7f232d /kernel/sysctl.c | |
parent | b3828ebb3901adfe989d8d4157ed28247aeec132 (diff) | |
download | op-kernel-dev-9ee318a7825929bc3734110b83ae8e20e53d9de3.zip op-kernel-dev-9ee318a7825929bc3734110b83ae8e20e53d9de3.tar.gz |
perf_counter: optimize mmap/comm tracking
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>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions