> 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 :-) I meant some fraction of DOORBELL_CLR_TOUT_US but that's fine - It is going away anyway. Thanks, Avri > > Thanks, > > Bart.