aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorParav Pandit <[email protected]>2019-01-22 08:33:00 +0200
committerJason Gunthorpe <[email protected]>2019-01-23 11:37:05 -0700
commitee848721f60d87c5fd27f0a29d5fc570ff0780be (patch)
tree6f886b4f62d67b455d42f1832c149f33fd58172c /tools/perf/scripts/python/bin
parent6113cc44015b41ca51c0a76fed82522b68108dac (diff)
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 <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions