[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cb2e81ac-a106-3162-7d93-936eb051e241@bytedance.com>
Date: Wed, 23 Mar 2022 23:44:56 +0800
From: Chengming Zhou <zhouchengming@...edance.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: mingo@...hat.com, acme@...nel.org, mark.rutland@....com,
alexander.shishkin@...ux.intel.com, jolsa@...nel.org,
namhyung@...nel.org, eranian@...gle.com,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
duanxiongchun@...edance.com, songmuchun@...edance.com
Subject: Re: [External] Re: [PATCH v2 2/6] perf/core: Introduce percpu
perf_cgroup
On 2022/3/23 10:05 下午, Peter Zijlstra wrote:
> On Wed, Mar 23, 2022 at 09:37:16PM +0800, Chengming Zhou wrote:
>
>> But you are right, having cpuctx->cgrp and cpu_perf_cgroup make things confused..
>> maybe we can delete cpuctx->cgrp, change to use percpu cpu_perf_cgroup?
>
> I'm hoping to soon (*finally*!) have some time for this again:
>
> https://lkml.kernel.org/r/20220113134743.1292-1-ravi.bangoria@amd.com
>
> That should get us a single cpuctx.
I just seen the patch description, the new design is clearer than
the current code. But it may take a long time to upstream and test
since it changed the whole design and so much code.
Anyway, I will reorganize this patchset, fix reviewed bugs, improve
the commit message and send next version for review.
Thanks.
Powered by blists - more mailing lists