summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-07-19 13:43:48 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-21 20:12:29 +0300
commita702349a4099cd5a7bab0904689d8e0bf8dcd622 (patch)
tree9c4fecc85ff313af8459d3181fedf830d9962114 /tools/perf/scripts/python/stackcollapse.py
parentd528114bd398b4edaeed370a96f874dff88c10f5 (diff)
downloadlinux-a702349a4099cd5a7bab0904689d8e0bf8dcd622.tar.xz
s390/qeth: fix race in used-buffer accounting
By updating q->used_buffers only _after_ do_QDIO() has completed, there is a potential race against the buffer's TX completion. In the unlikely case that the TX completion path wins, qeth_qdio_output_handler() would decrement the counter before qeth_flush_buffers() even incremented it. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions