aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKirti Wankhede <[email protected]>2016-11-17 02:16:21 +0530
committerAlex Williamson <[email protected]>2016-11-17 08:25:09 -0700
commit8f0d5bb95f763cacad7654304050ec1b636bb04a (patch)
treebec8ce0bfe39b99177adb540b0084bfd83c887fd /tools/perf/scripts/python/export-to-postgresql.py
parent7896c998f0e7160df97bd7aaae9807120535bf14 (diff)
vfio iommu type1: Add task structure to vfio_dma
Add task structure to vfio_dma structure. Task structure is used for: - During DMA_UNMAP, same task who mapped it or other task who shares same address space is allowed to unmap, otherwise unmap fails. QEMU maps few iova ranges initially, then fork threads and from the child thread calls DMA_UNMAP on previously mapped iova. Since child shares same address space, DMA_UNMAP is successful. - Avoid accessing struct mm while process is exiting by acquiring reference of task's mm during page accounting. - It is also used to get task mlock capability and rlimit for mlock. Signed-off-by: Kirti Wankhede <[email protected]> Signed-off-by: Neo Jia <[email protected]> Reviewed-by: Dong Jia Shi <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions