diff options
author | Parav Pandit <parav@mellanox.com> | 2018-07-29 11:53:14 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-30 20:49:04 -0600 |
commit | 7582df826734bad71522b442b8977e3dee63a77a (patch) | |
tree | 09a33cd318258ba431c378082b21dab70a1f71ad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ca3a8ace2b128abb7f164de9e10b8431eaddc2ac (diff) |
RDMA/core: Avoid holding lock while initializing fields on stack
In various functions rdma_cm_event is zero initialized on stack using
memset() while holding lock which is not necessary.
Therefore, don't hold the lock while initializing on stack.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions