• Peter Zijlstra's avatar
    perf_counter: per user mlock gift · 789f90fc
    Peter Zijlstra authored
    Instead of a per-process mlock gift for perf-counters, use a
    per-user gift so that there is less of a DoS potential.
    
    [ Impact: allow less worst-case unprivileged memory consumption ]
    Signed-off-by: default avatarPeter 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>
    LKML-Reference: <20090515132018.496182835@chello.nl>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    789f90fc
perf_counter.c 80.7 KB