• Ingo Molnar's avatar
    perf_counter: Increase mmap limit · a3862d3f
    Ingo Molnar authored
    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: default avatarIngo Molnar <mingo@elte.hu>
    a3862d3f
perf_counter.c 85.5 KB