aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMark Zhang <[email protected]>2021-06-03 13:18:03 +0000
committerJason Gunthorpe <[email protected]>2021-06-03 17:19:53 +0000
commita0ffb4c12f7fa89163e228e6f27df09b46631db1 (patch)
tree6b491664cf556a62801f3d0f18a3cae8e6fc27d2 /tools/perf/scripts/python
parentRDMA/ipoib: Fix warning caused by destroying non-initial netns (diff)
downloadkernel-a0ffb4c12f7fa89163e228e6f27df09b46631db1.tar.gz
kernel-a0ffb4c12f7fa89163e228e6f27df09b46631db1.zip
RDMA/mlx5: Use different doorbell memory for different processes
In a fork scenario, the parent and child can have same virtual address and also share the uverbs fd. That causes to the list_for_each_entry search return same doorbell physical page for all processes, even though that page has been COW' or copied. This patch takes the mm_struct into consideration during search, to make sure that VA's belonging to different processes are not intermixed. Resolves the malfunction of uverbs after fork in some specific cases. Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Link: https://lore.kernel.org/r/feacc23fe0bc6e1088c6824d5583798745e72405.1622726212.git.leonro@nvidia.com Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Mark Zhang <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions