diff options
| author | VENKATA RAO KAKANI <vkakani@codeaurora.org> | 2018-07-13 17:14:00 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-07-13 04:56:53 -0700 |
| commit | ba826181edb2be441020037e8d2efb3ec56c182a (patch) | |
| tree | 5b354b7ab9939c8546ec5dee8415773f98903a43 /tools/perf/scripts/python/cs-trace-ranges.py | |
| parent | 1eef60bf60a6f52f5ce3c3d672b549cdf952d75c (diff) | |
iommu/debug: Add mutex to make attach/detach thread safe
This mutex lock will help to synchronise the usage of iommu domain
structure which is getting used by multiple threads to perform
iommu attach and iommu detach in case of any error.
Without this change we are seeing page poisoning - write after free
when running stress tests using iommu-debug test cases.
Change-Id: I388a90084ab8cc7e7097bac9a41ed5fed6dad312
Acked-by: Ankur Saxena <c_ankusa@qti.qualcomm.com>
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: VENKATA RAO KAKANI <vkakani@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/cs-trace-ranges.py')
0 files changed, 0 insertions, 0 deletions
