mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
cgroup/rstat: Fix forceidle time in cpu.stat
The commitb824766504("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:b824766504("cgroup/rstat: add force idle show helper") Signed-off-by: Abel Wu <wuyun.abel@bytedance.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
ad6c08d8c1
commit
c4af66a95a
1 changed files with 13 additions and 16 deletions
Loading…
Add table
Add a link
Reference in a new issue