aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorFabrice Gasnier <[email protected]>2014-11-04 17:08:05 +0100
committerDavid S. Miller <[email protected]>2014-11-05 16:22:56 -0500
commit16ee817e4365cdfe665ae8d6f6bc8f09befa1272 (patch)
tree32e8e721051138198ae714cdcbcb3cacc6bbe444 /tools/perf/scripts/python/futex-contention.py
parentb994ca6b67ade73c2d69c00a449ad7006cd4546e (diff)
stmmac: fix stmmac_tx_avail should be called with TX locked
stmmac_tx_avail() may lie if used unprotected. It's using cur_tx and dirty_tx index. These index may be already in use by tx_clean when entering xmit routine. So, this should be called locked. This can cause transmit queue to be stuck, with following message: NETDEV WATCHDOG: eth0 (stmmaceth): transmit queue 0 timed out Signed-off-by: Fabrice Gasnier <[email protected]> Acked-by: Giuseppe Cavallaro <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions