aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2018-08-08 16:23:53 -0700
committerDavid S. Miller <[email protected]>2018-08-08 19:34:55 -0700
commit269d26f47f6f7d4275b0e225c9ee80cf4a31aa8c (patch)
treecd48df3febdd05b0f84c512c1993797c6f221dc7 /lib/test_overflow.c
parentd1fd79f34f2d56f969472d7285ea5239ab7b7bf0 (diff)
net/mlx5: Reduce command polling interval
Use cond_resched() instead of usleep_range() to decrease the time between polling attempts thus reducing overall driver load time. Below is a comparison before and after the change, of loading eight virtual functions. Before: real 0m8.785s user 0m0.093s sys 0m0.090s After: real 0m5.730s user 0m0.097s sys 0m0.087s Signed-off-by: Eli Cohen <[email protected]> Reviewed-by: Or Gerlitz <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions