diff options
author | Chengchang Tang <[email protected]> | 2024-09-27 18:33:22 +0800 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-10-07 08:53:23 +0300 |
commit | 51976c6cd786151b6a1bdf8b8b3334beac0ba99c (patch) | |
tree | 9c4a089bc2931c9000884566f41f81c5f347c855 /tools/perf/scripts/python/stackcollapse.py | |
parent | 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b (diff) |
RDMA/core: Provide rdma_user_mmap_disassociate() to disassociate mmap pages
Provide a new api rdma_user_mmap_disassociate() for drivers to
disassociate mmap pages for a device.
Since drivers can now disassociate mmaps by calling this api,
introduce a new disassociation_lock to specifically prevent
races between this disassociation process and new mmaps. And
thus the old hw_destroy_rwsem is not needed in this api.
Signed-off-by: Chengchang Tang <[email protected]>
Signed-off-by: Junxian Huang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions