Re: [PATCH RESEND v6 7/8] blk-throttle: cleanup tg_update_disptime()

From: Tejun Heo
Date: Wed Jul 27 2022 - 15:08:00 EST


On Fri, Jul 01, 2022 at 05:34:40PM +0800, Yu Kuai wrote:
> From: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> th_update_disptime() only need to adjust postion for 'tg' in
^ ^
tg needs

> 'parent_sq', there is no need to call throtl_enqueue/dequeue_tg().

What are we gaining / losing by changing this? Why is this better?

Thanks.

--
tejun