]> git.karo-electronics.de Git - linux-beck.git/commit
perf_counter: Increase mmap limit
authorIngo Molnar <mingo@elte.hu>
Sun, 24 May 2009 07:02:37 +0000 (09:02 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 24 May 2009 07:02:37 +0000 (09:02 +0200)
commita3862d3f814ce7dfca9eed56ac23d29db3aee8d5
tree5cbc8c2cb9b11acb5bc21009d27da3978c1c0db2
parentc2990a2a582d73562d4dcf2502c39892a19a691d
perf_counter: Increase mmap limit

In a default 'perf top' run the tool will create a counter for
each online CPU. With enough CPUs this will eventually exhaust
the default limit.

So scale it up with the number of online CPUs.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c