diff options
| author | Peng Li <[email protected]> | 2018-12-20 11:52:00 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-12-19 23:47:58 -0800 |
| commit | 1b7d7b0581173219b82abbd81c88cf8aa7d402c2 (patch) | |
| tree | f4efe8a72d8aac9200b766b02942f473a6cfb761 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | a298797532d9dc244abf349d7c2ed063732c6ba3 (diff) | |
net: hns3: fix a bug caused by udelay
udelay() in driver may always occupancy processor. If there is only
one cpu in system, the VF driver may initialize fail when insmod
PF and VF driver in the same system. This patch use msleep() to free
cpu when VF wait PF message.
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions