aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJérôme Pouiller <[email protected]>2020-04-01 13:04:03 +0200
committerGreg Kroah-Hartman <[email protected]>2020-04-13 08:55:37 +0200
commita39e761aa4fefa2a8aaf549217329933b91da7c9 (patch)
tree98dd58f91701e6fe820adb2d38be3c9f4ed32b2d /tools/perf/scripts/python/stackcollapse.py
parent7f573a6fb1d848121a8793756a0d3a7949ee621d (diff)
staging: wfx: fix potential deadlock in wfx_tx_flush()
wfx_tx_flush() wait there are no more frame in device buffer. However, this event may never happens since wfx_tx_flush() don't forbid to enqueue new frames. Note that wfx_tx_flush() should only ensure that all frames currently in hardware queues are sent. So the current code is more restrictive that it should. Note that wfx_tx_flush() release the lock before to return while wfx_tx_lock_flush() keep the lock. Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions