diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2021-12-25 00:09:32 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2022-01-06 11:50:34 -1000 |
commit | f5f60d235e7058da13a643c33fc7599c05ec0b73 (patch) | |
tree | 3ba3b73e84ad6835583c2548fb52021cf0374fd0 /scripts/gdb | |
parent | 0da41f7348fff193d01d031ce255088fa98324b7 (diff) |
cgroup/rstat: check updated_next only for root
After commit dc26532aed0a ("cgroup: rstat: punt root-level optimization to
individual controllers"), each rstat on updated_children list has its
->updated_next not NULL.
This means we can remove the check on ->updated_next, if we make sure
the subtree from @root is on list, which could be done by checking
updated_next for root.
tj: Coding style fixes.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions