diff options
author | Michal Schmidt <[email protected]> | 2023-04-12 10:19:29 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2023-04-20 16:33:14 -0700 |
commit | b488ae52ef9f74155ab358f8c68e74327b45e0e1 (patch) | |
tree | 53eba5721b4d3dcfdc33e1a495607442d3038456 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 43a630e37e259fee83ab3fd769c42e2fed97ca81 (diff) |
ice: sleep, don't busy-wait, in the SQ send retry loop
10 ms is a lot of time to spend busy-waiting. Sleeping is clearly
allowed here, because we have just returned from ice_sq_send_cmd(),
which takes a mutex.
On kernels with HZ=100, this msleep may be twice as long, but I don't
think it matters.
I did not actually observe any retries happening here.
Signed-off-by: Michal Schmidt <[email protected]>
Reviewed-by: Arkadiusz Kubalewski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Sunitha Mekala <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions