Re: [PATCH v4 1/2] cgroup/rstat: Fix forceidle time in cpu.stat
From: Tejun Heo
Date: Thu Feb 27 2025 - 12:20:05 EST
On Sun, Feb 09, 2025 at 02:13:11PM +0800, Abel Wu 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.
>
> Fixes: b824766504e4 ("cgroup/rstat: add force idle show helper")
> Signed-off-by: Abel Wu <wuyun.abel@xxxxxxxxxxxxx>
Applied to cgroup/for-6.15.
Thanks.
--
tejun