]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iocost_monitor: start from the oldest usage index
authorChengming Zhou <zhouchengming@bytedance.com>
Thu, 30 Jul 2020 12:31:04 +0000 (20:31 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 30 Jul 2020 17:45:29 +0000 (11:45 -0600)
commit1bf6ece5731db14f1556637494d2048a8bb15a41
treeaa7e182e5cb6d4cd12fbb3145adbaa2faa00858b
parentd9012a59db54442d5b2fcfdfcded35cf566397d3
iocost_monitor: start from the oldest usage index

iocg usage_idx is the latest usage index, we should start from the
oldest usage index to show the consecutive NR_USAGE_SLOTS usages.

Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/cgroup/iocost_monitor.py