mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 00:54:41 +08:00
98e77d9fd7
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> |
||
---|---|---|
.. | ||
hns_roce_ah.c | ||
hns_roce_alloc.c | ||
hns_roce_cmd.c | ||
hns_roce_cmd.h | ||
hns_roce_common.h | ||
hns_roce_cq.c | ||
hns_roce_device.h | ||
hns_roce_eq.c | ||
hns_roce_eq.h | ||
hns_roce_hem.c | ||
hns_roce_hem.h | ||
hns_roce_hw_v1.c | ||
hns_roce_hw_v1.h | ||
hns_roce_main.c | ||
hns_roce_mr.c | ||
hns_roce_pd.c | ||
hns_roce_qp.c | ||
Kconfig | ||
Makefile |