summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorYi Liu <yi.l.liu@intel.com>2025-03-24 15:00:34 +0300
committerJason Gunthorpe <jgg@nvidia.com>2025-03-28 16:07:23 +0300
commit6fc85bbbeaeae39c61d230ce279c0b0d0952d3e3 (patch)
tree151256de9875550968e098e9e59b17297d850f7f /tools/perf/scripts/python/parallel-perf.py
parent41464a4628f3b15988bdc3dcd824c2e91064fc6f (diff)
downloadlinux-6fc85bbbeaeae39c61d230ce279c0b0d0952d3e3.tar.xz
iommufd: Balance veventq->num_events inc/dec
iommufd_veventq_fops_read() decrements veventq->num_events when a vevent is read out. However, the report path ony increments veventq->num_events for normal events. To be balanced, make the read path decrement num_events only for normal vevents. Fixes: e36ba5ab808e ("iommufd: Add IOMMUFD_OBJ_VEVENTQ and IOMMUFD_CMD_VEVENTQ_ALLOC") Link: https://patch.msgid.link/r/20250324120034.5940-3-yi.l.liu@intel.com Signed-off-by: Yi Liu <yi.l.liu@intel.com> Reviewed-by: Nicolin Chen <nicolinc@nvidia.com> Tested-by: Nicolin Chen <nicolinc@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions