linux/drivers/infiniband/hw
Leon Romanovsky 98e77d9fd7 IB: Convert msleep below 20ms to usleep_range
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@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-07-17 21:21:22 -04:00
..
bnxt_re RDMA/bnxt_re: Remove FMR support 2017-06-14 13:02:00 -04:00
cxgb3 networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
cxgb4 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-21 17:35:22 -04:00
hfi1 IB/hfi1: Ensure dd->gi_mask can not be overflowed 2017-07-17 11:39:45 -04:00
hns IB: Convert msleep below 20ms to usleep_range 2017-07-17 21:21:22 -04:00
i40iw sched/wait: Rename wait_queue_t => wait_queue_entry_t 2017-06-20 12:18:27 +02:00
mlx4 IB: Convert msleep below 20ms to usleep_range 2017-07-17 21:21:22 -04:00
mlx5 mlx5: Avoid that mlx5_ib_sg_to_klms() overflows the klms[] array 2017-07-17 11:45:07 -04:00
mthca IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
nes IB: Convert msleep below 20ms to usleep_range 2017-07-17 21:21:22 -04:00
ocrdma IB/ocrdma: fix out of bounds access to local buffer 2017-05-01 15:04:23 -04:00
qedr Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-21 17:35:22 -04:00
qib RDMA/qib,hfi1: Fix MR reference count leak on write with immediate 2017-06-01 17:04:33 -04:00
usnic
vmw_pvrdma IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
Makefile