diff options
| author | Chengchang Tang <tangchengchang@huawei.com> | 2024-09-27 18:33:22 +0800 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2024-10-07 08:53:23 +0300 |
| commit | 51976c6cd786151b6a1bdf8b8b3334beac0ba99c (patch) | |
| tree | 9c4a089bc2931c9000884566f41f81c5f347c855 /tools/perf/scripts/python | |
| parent | Linux 6.12-rc2 (diff) | |
| download | linux-51976c6cd786151b6a1bdf8b8b3334beac0ba99c.tar.gz linux-51976c6cd786151b6a1bdf8b8b3334beac0ba99c.zip | |
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 <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20240927103323.1897094-2-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
