diff options
author | Sascha Hauer <[email protected]> | 2019-12-16 11:53:23 +0100 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2019-12-26 10:04:18 +0530 |
commit | f882101122aa110ef8e64be04472e5a47030300e (patch) | |
tree | 0efa92d461b35e0146ff7436646cfd99662b83ff /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | df660a2b6dfcf26001af6cd2441268c29416dd64 (diff) |
dmaengine: virt-dma: Do not call desc_free() under a spin_lock
vchan_vdesc_fini() shouldn't be called under a spin_lock. This is done
in two places, once in vchan_terminate_vdesc() and once in
vchan_synchronize(). Instead of freeing the vdesc right away, collect
the aborted vdescs on a separate list and free them along with the other
vdescs. The terminated descs are also freed in vchan_synchronize as done
before this patch.
Signed-off-by: Sascha Hauer <[email protected]>
Reviewed-by: Peter Ujfalusi <[email protected]>
Tested-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions