aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2022-09-08 15:44:58 -0300
committerJason Gunthorpe <[email protected]>2022-12-05 08:56:01 -0400
commitf794eec86c7cd9a340a66109e6f32f8659ff30fa (patch)
tree33f1410da4f8786da6ca8de6609b491d135dd0a9 /tools/perf/scripts/python/export-to-sqlite.py
parent90337f526c98129b0b180fc52dc5f57d8e7a8614 (diff)
vfio: Simplify vfio_create_group()
The vfio.group_lock is now only used to serialize vfio_group creation and destruction, we don't need a micro-optimization of searching, unlocking, then allocating and searching again. Just hold the lock the whole time. Grabbed from: https://lore.kernel.org/kvm/[email protected]/ Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Tested-by: Lixiao Yang <[email protected]> Tested-by: Yu He <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Signed-off-by: Alex Williamson <[email protected]> Signed-off-by: Yi Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions