aboutsummaryrefslogtreecommitdiffstats
path: root/tools/arch/x86/lib/insn.c
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2019-11-20 19:06:40 +0200
committerIngo Molnar <mingo@kernel.org>2019-11-21 07:37:50 +0100
commitc4b75479741c9c3a4f0abff5baa5013d27640ac1 (patch)
treed30298b556e77bdc67b0f1d0bdeb2fc57d241938 /tools/arch/x86/lib/insn.c
parentperf/core: Fix the mlock accounting, again (diff)
downloadlinux-dev-c4b75479741c9c3a4f0abff5baa5013d27640ac1.tar.xz
linux-dev-c4b75479741c9c3a4f0abff5baa5013d27640ac1.zip
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 <alexander.shishkin@linux.intel.com> Acked-by: Song Liu <songliubraving@fb.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Wanpeng Li <wanpengli@tencent.com> Cc: Yauheni Kaliuta <yauheni.kaliuta@redhat.com> Cc: songliubraving@fb.com Link: https://lkml.kernel.org/r/20191120170640.54123-1-alexander.shishkin@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/arch/x86/lib/insn.c')
0 files changed, 0 insertions, 0 deletions