• P
    perf_counter: per user mlock gift · 789f90fc
    Peter Zijlstra 提交于
    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: NPeter 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: NIngo Molnar <mingo@elte.hu>
    789f90fc
sched.h 69.8 KB