Re: [PATCH 1/4] scsi: ufs: Reduce the clock scaling latency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/28/22 00:09, Avri Altman wrote:
Maybe we should create some linkage to DOORBELL_CLR_TOUT_US?

Hi Avri,

Do you perhaps want me to change

	io_schedule_timeout(msecs_to_jiffies(20));

into something like the following?

	io_schedule_timeout(msecs_to_jiffies(min(20, remaining_time)));

Documenting that wait_timeout_us may be exceeded by 20 ms seems like the easier solution to me :-)

Thanks,

Bart.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux