summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-01-22 09:33:00 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-01-23 21:37:05 +0300
commitee848721f60d87c5fd27f0a29d5fc570ff0780be (patch)
tree6f886b4f62d67b455d42f1832c149f33fd58172c /tools/perf/scripts/python/check-perf-trace.py
parent6113cc44015b41ca51c0a76fed82522b68108dac (diff)
downloadlinux-ee848721f60d87c5fd27f0a29d5fc570ff0780be.tar.xz
IB/umad: Avoid additional device reference during open()/close()
ib_umad_init_port_dev() holds the reference of a ib_umad_device instance. ib_umad_device contains standard core device and cdev. cdev holds the reference of its parent core device. file ops holds the reference to cdev using core kernel. Therefore, there is no need to hold additional reference while opening umad related char devices. While at it, add comments to bring clarity on releasing references to ib_umd_device. Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions