diff options
author | Alexander Shishkin <[email protected]> | 2019-11-20 19:06:40 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-11-21 07:37:50 +0100 |
commit | c4b75479741c9c3a4f0abff5baa5013d27640ac1 (patch) | |
tree | d30298b556e77bdc67b0f1d0bdeb2fc57d241938 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 36b3db03b4741b8935b68fffc7e69951d8d70a89 (diff) |
perf/core: Make the mlock accounting simple again
Commit:
d44248a41337 ("perf/core: Rework memory accounting in perf_mmap()")
does a lot of things to the mlock accounting arithmetics, while the only
thing that actually needed to happen is subtracting the part that is
charged to the mm from the part that is charged to the user, so that the
former isn't charged twice.
Signed-off-by: Alexander Shishkin <[email protected]>
Acked-by: Song Liu <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Wanpeng Li <[email protected]>
Cc: Yauheni Kaliuta <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions