diff options
author | 2025-02-09 14:13:11 +0800 | |
---|---|---|
committer | 2025-02-27 07:19:17 -1000 | |
commit | c4af66a95aa3bc1d4f607ebd4eea524fb58946e3 (patch) | |
tree | 577faa9acca7010c336a7a37f97e5410a8c6dc71 /scripts/generate_rust_analyzer.py | |
parent | cgroup/misc: Remove unused misc_cg_res_total_usage (diff) | |
download | wireguard-linux-c4af66a95aa3bc1d4f607ebd4eea524fb58946e3.tar.xz wireguard-linux-c4af66a95aa3bc1d4f607ebd4eea524fb58946e3.zip |
cgroup/rstat: Fix forceidle time in cpu.stat
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@bytedance.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions