Re: [PATCH rdma-next] IB: Convert msleep below 20ms to usleep_range

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

 



On 5/23/2017 4:29 AM, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> 
> The msleep(1) may do not sleep 1 ms as expected
> and will sleep longer. The simple conversion from
> msleep to usleep_range between 1ms and 2ms can solve an
> issue.
> 
> The full and comprehensive explanation can be found at [1] and [2].
> 
> [1] https://lkml.org/lkml/2007/8/3/250
> [2] Documentation/timers/timers-howto.txt
> 
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> Reviewed-by: Erez Shitrit <erezsh@xxxxxxxxxxxx>

This has been accepted into 4.13-rc, thanks.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG Key ID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux