diff options
| author | Parav Pandit <[email protected]> | 2018-08-28 15:08:44 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-09-06 13:45:38 -0600 |
| commit | 2d65f49ff961da5e974a48e250edd24b0c6f54d6 (patch) | |
| tree | 8fab02c6621b05a4d876ea39ff69ada8de266758 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4512acd0d34cea1bc0d9c69c1a60174016e121d7 (diff) | |
RDMA/core: Use simpler spin lock irq API from blocking context
add_client_context(), ib_unregister_device() and ib_unregister_client()
are designed to call from blocking context. There is no need to save and
restore last interrupt state when called from such blocking context. Even
though this is not a performance path, using the right spin lock API is
desired for code clarity.
To avoid checkpatch warning while removing flags, sizeof() is used.
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Daniel Jurgens <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions