aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2021-12-25 00:09:32 +0000
committerTejun Heo <[email protected]>2022-01-06 11:50:34 -1000
commitf5f60d235e7058da13a643c33fc7599c05ec0b73 (patch)
tree3ba3b73e84ad6835583c2548fb52021cf0374fd0 /scripts/clang-tools/gen_compile_commands.py
parent0da41f7348fff193d01d031ce255088fa98324b7 (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 <[email protected]> Reviewed-by: Michal Koutný <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions