aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <[email protected]>2018-10-02 13:22:31 +1000
committerMichael Ellerman <[email protected]>2018-12-20 22:59:03 +1100
commit517ad4ae8aa93dccdb9a88c27257ecb421c9e848 (patch)
tree0e1d6ad31313e7019b383580472832604b074f1a /tools/perf/util/scripting-engines/trace-event-python.c
parentfa1ada78897f282917594ba8eba220a54f87dabb (diff)
vfio/spapr_tce: Get rid of possible infinite loop
As a part of cleanup, the SPAPR TCE IOMMU subdriver releases preregistered memory. If there is a bug in memory release, the loop in tce_iommu_release() becomes infinite; this actually happened to me. This makes the loop finite and prints a warning on every failure to make the code more bug prone. Signed-off-by: Alexey Kardashevskiy <[email protected]> Reviewed-by: David Gibson <[email protected]> Acked-by: Alex Williamson <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions