diff options
author | Frederic Weisbecker <[email protected]> | 2011-03-31 03:33:29 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-03-31 13:02:54 +0200 |
commit | 20443384fe090c5f8aeb016e7e85659c5bbdd69f (patch) | |
tree | c023e471d96f1c7d5e344f4b6ae7bfb8db0e1937 /tools/perf/util/trace-event-scripting.c | |
parent | 652d78fd7a9ebd881290d6bbbc85925c06b907b4 (diff) |
perf: Rebase max unprivileged mlock threshold on top of page size
Ensure we allow 512 kiB + 1 page for user control without
assuming a 4096 bytes page size.
Reported-by: Peter Zijlstra <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions