diff options
author | Baolin Wang <[email protected]> | 2020-11-26 16:16:13 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-12-07 13:20:31 -0700 |
commit | c09245f61c6ac4ef253a5fcf97e5bcfc0ce25fc7 (patch) | |
tree | aebe6c04e274f0688f649e98a8a1f0fc4a1fdf6f /tools/testing/selftests/bpf | |
parent | 647c9f03b2b66cf1f505208c313998fc833ed28b (diff) |
blk-iocost: Move the usage ratio calculation to the correct place
We only use the hweight based usage ratio to calculate the new
hweight_inuse of the iocg to decide if this iocg can donate some
surplus vtime.
Thus move the usage ratio calculation to the correct place to
avoid unnecessary calculation for some vtime shortage iocgs.
Signed-off-by: Baolin Wang <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions