summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@intel.com>2025-03-06 02:00:06 +0300
committerVinod Koul <vkoul@kernel.org>2025-03-10 23:49:39 +0300
commite87ca16e99118ab4e130a41bdf12abbf6a87656c (patch)
tree2f0c7ed2bda227a80e34b06424b9cc76ba62962f /tools/perf/scripts/python/task-analyzer.py
parent1fe283e850d6659dc3ccc295c6a0b470dd461047 (diff)
downloadlinux-e87ca16e99118ab4e130a41bdf12abbf6a87656c.tar.xz
dmaengine: dmatest: Fix dmatest waiting less when interrupted
Change the "wait for operation finish" logic to take interrupts into account. When using dmatest with idxd DMA engine, it's possible that during longer tests, the interrupt notifying the finish of an operation happens during wait_event_freezable_timeout(), which causes dmatest to cleanup all the resources, some of which might still be in use. This fix ensures that the wait logic correctly handles interrupts, preventing premature cleanup of resources. Reported-by: kernel test robot <oliver.sang@intel.com> Closes: https://lore.kernel.org/oe-lkp/202502171134.8c403348-lkp@intel.com Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/20250305230007.590178-1-vinicius.gomes@intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions