diff options
author | Yinjun Zhang <yinjun.zhang@corigine.com> | 2021-10-29 13:29:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-29 13:25:32 +0100 |
commit | 17e712c6a1bade9dac02a7bf2b464746faa7e9a0 (patch) | |
tree | 324f4962baced91ffd5cb09e37ac42f883492a29 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f8d384a640dd32aaf0a05fec137ccbf0e986b09f (diff) |
nfp: fix potential deadlock when canceling dim work
When port is linked down, the process which has acquired rtnl_lock
will wait for the in-progress dim work to finish, and the work also
acquires rtnl_lock, which may cause deadlock.
Currently IRQ_MOD registers can be configured by `ethtool -C` and
dim work, and which will take effect depends on the execution order,
rtnl_lock is useless here, so remove them.
Fixes: 9d32e4e7e9e1 ("nfp: add support for coalesce adaptive feature")
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions