From: Peter Zijlstra Date: Fri, 15 May 2009 13:19:27 +0000 (+0200) Subject: perf_counter: per user mlock gift X-Git-Tag: v2.6.31-rc1~383^2~269 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=789f90fcf6b0b54e655740e9396c954378542c79;p=pandora-kernel.git perf_counter: per user mlock gift 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: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford Cc: Arnaldo Carvalho de Melo LKML-Reference: <20090515132018.496182835@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed