[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <C0F2E8FA-925C-4D71-9628-554270034422@fb.com>
Date: Wed, 20 Nov 2019 17:17:24 +0000
From: Song Liu <songliubraving@...com>
To: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
CC: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Ingo Molnar <mingo@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jiri Olsa <jolsa@...nel.org>
Subject: Re: [PATCH] perf: Make the mlock accounting simple again
> On Nov 20, 2019, at 9:06 AM, Alexander Shishkin <alexander.shishkin@...ux.intel.com> wrote:
>
> 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@...ux.intel.com>
> Cc: songliubraving@...com
Acked-by: Song Liu <songliubraving@...com>
Thanks for the fix!
Powered by blists - more mailing lists