aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2020-02-09 19:33:39 +0300
committerVinod Koul <[email protected]>2020-02-25 11:57:09 +0530
commitc33ee1301c393a241d6424e36eff1071811b1064 (patch)
tree820e2729f28c84d740298a984bf0e0f65c9e3cf4 /tools/perf/util/trace-event-scripting.c
parent94788af4ed039476ff3527b0e6a12c1dc42cb022 (diff)
dmaengine: tegra-apb: Prevent race conditions of tasklet vs free list
The interrupt handler puts a half-completed DMA descriptor on a free list and then schedules tasklet to process bottom half of the descriptor that executes client's callback, this creates possibility to pick up the busy descriptor from the free list. Thus, let's disallow descriptor's re-use until it is fully processed. Signed-off-by: Dmitry Osipenko <[email protected]> Acked-by: Jon Hunter <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions