aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSinan Kaya <[email protected]>2016-08-31 11:10:27 -0400
committerVinod Koul <[email protected]>2016-08-31 21:27:32 +0530
commit8a31f8b5db65b860fd0d358dc27f6daf26074406 (patch)
tree2464951e1e9b2eaa2930294abe5c2c2b685bb35c /tools/perf/scripts/python/call-graph-from-postgresql.py
parent73fc45e3ce7838e6f47228dd51144c492931e8ad (diff)
dmaengine: qcom_hidma: release the descriptor before the callback
There is a race condition between data transfer callback and descriptor free code. The callback routine may decide to clear the resources even though the descriptor has not yet been freed. Instead of calling the callback first and then releasing the memory, this code is changing the order to return the descriptor back to the free pool and then call the user provided callback. Signed-off-by: Sinan Kaya <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions