diff options
author | Alex Elder <[email protected]> | 2021-01-13 11:15:29 -0600 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-01-14 17:40:02 -0800 |
commit | 74401946bdad6eb812d2d3c77f1ace849f963a6a (patch) | |
tree | fd65f95132cd307463969798fbda89fda1c8ae0e /tools/perf/scripts/python/syscall-counts.py | |
parent | a60d0632f6e8e62584cd25d830c69dd09b0d4115 (diff) |
net: ipa: use usleep_range()
65;6003;1c
The use of msleep() for small periods (less than 20 milliseconds) is
not recommended because the actual delay can be much different than
expected.
We use msleep(1) in several places in the IPA driver to insert short
delays. Replace them with usleep_range calls, which should reliably
delay a period in the range requested.
Signed-off-by: Alex Elder <[email protected]>
Reviewed-by: Saeed Mahameed <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions