diff options
author | Stefano Garzarella <[email protected]> | 2021-03-15 17:34:38 +0100 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-05-03 04:55:52 -0400 |
commit | f53d9910d009bc015b42d88114e2d86a93b0e6b7 (patch) | |
tree | f79287a3e556fb2b40c4e0cb1bad5bf93808b669 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4080fc1067501707b9693b8003feae7d50d14e35 (diff) |
vringh: add 'iotlb_lock' to synchronize iotlb accesses
Usually iotlb accesses are synchronized with a spinlock.
Let's request it as a new parameter in vringh_set_iotlb() and
hold it when we navigate the iotlb in iotlb_translate() to avoid
race conditions with any new additions/deletions of ranges from
the ioltb.
Acked-by: Jason Wang <[email protected]>
Signed-off-by: Stefano Garzarella <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions