aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorNicolin Chen <[email protected]>2023-07-28 06:33:25 +0000
committerJason Gunthorpe <[email protected]>2023-07-28 16:31:24 +0000
commit9227da7816dd1a42e20d41e2244cb63c205477ca (patch)
tree00a7579b73a263b3bd7d1085df972df2e868c855 /tools/perf/scripts/python/sctop.py
parentiommufd: Allow passing in iopt_access_list_id to iopt_remove_access() (diff)
downloadkernel-9227da7816dd1a42e20d41e2244cb63c205477ca.tar.gz
kernel-9227da7816dd1a42e20d41e2244cb63c205477ca.zip
iommufd: Add iommufd_access_change_ioas(_id) helpers
The complication of the mutex and refcount will be amplified after we introduce the replace support for accesses. So, add a preparatory change of a constitutive helper iommufd_access_change_ioas() and its wrapper iommufd_access_change_ioas_id(). They can simply take care of existing iommufd_access_attach() and iommufd_access_detach(), properly sequencing the refcount puts so that they are truely at the end of the sequence after we know the IOAS pointer is not required any more. Link: https://lore.kernel.org/r/da0c462532193b447329c4eb975a596f47e49b70.1690523699.git.nicolinc@nvidia.com Suggested-by: Jason Gunthorpe <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Signed-off-by: Nicolin Chen <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions