Re: [PATCH 1/3] cgroup/rstat: Fix forceidle time in cpu.stat

From: Michal Koutný
Date: Fri Jan 24 2025 - 04:22:55 EST


Hello.

On Fri, Jan 24, 2025 at 01:47:01AM +0800, Abel Wu <wuyun.abel@xxxxxxxxxxxxx> wrote:
> The commit b824766504e4 ("cgroup/rstat: add force idle show helper")
> retrieves forceidle_time outside cgroup_rstat_lock for non-root cgroups
> which can be potentially inconsistent with other stats.
>
> Rather than reverting that commit, fix it in a way that retains the
> effort of cleaning up the ifdef-messes.

Sorry, I'm blind, where's the change moving wrt cgroup_rstat_lock?
(I only see unuse of root cgroup's bstat and a few renames).

Thanks,
Michal

Attachment: signature.asc
Description: PGP signature