Re: [PATCH v2 4/6] perf/core: Use stable cpuctx->cgrp when update perf cgroup time

From: Peter Zijlstra
Date: Tue Mar 22 2022 - 09:03:28 EST


On Tue, Mar 22, 2022 at 08:08:32PM +0800, Chengming Zhou wrote:
> The current code use the changeable task->cgroups when update
> the perf cgroup time, which maybe not the active perf_cgroup
> that sched_in on the CPU.

How?!?