[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9C8BEC29-47C2-4322-B169-FD9177BBCECD@fb.com>
Date: Wed, 18 Mar 2020 22:37:06 +0000
From: Song Liu <songliubraving@...com>
To: Peter Zijlstra <peterz@...radead.org>
CC: linux-kernel <linux-kernel@...r.kernel.org>,
Kernel Team <Kernel-team@...com>,
Andi Kleen <andi@...stfloor.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH v2] perf/core: install cgroup events to correct cpuctx
> On Mar 18, 2020, at 12:33 PM, Peter Zijlstra <peterz@...radead.org> wrote:
>
> On Wed, Mar 18, 2020 at 07:05:35PM +0100, Peter Zijlstra wrote:
>> On Wed, Mar 18, 2020 at 07:07:29AM +0000, Song Liu wrote:
>
>>> Could you please share your thoughts on this? I think we cannot use current
>>> in list_update_cgroup_event(), unless we call it on the target CPU.
>>
>> Bah, that cgroup crap is 'wrong'. It's pointless to track the
>> cpuctx->cgrp state for disabled events.
>>
>> Let me see if I can unravel that crud.
>
> This compiles, but I've no clue how to operate cgroups. Please test.
Thanks Peter! This fixes the issue I saw. And the code looks good too.
Reviewed-and-tested-by: Song Liu <songliubraving@...com>
[...]
Powered by blists - more mailing lists