diff options
author | Majd Dibbiny <[email protected]> | 2017-12-24 13:54:56 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2017-12-27 15:24:40 -0700 |
commit | ad9a3668a434faca1339789ed2f043d679199309 (patch) | |
tree | 6ae4f8fc84efe4a0db5750a696c24bc06dddbb09 /scripts/gdb/linux/dmesg.py | |
parent | 4c009af473b2026caaa26107e34d7cc68dad7756 (diff) |
IB/mlx5: Serialize access to the VMA list
User-space applications can do mmap and munmap directly at
any time.
Since the VMA list is not protected with a mutex, concurrent
accesses to the VMA list from the mmap and munmap can cause
data corruption. Add a mutex around the list.
Cc: <[email protected]> # v4.7
Fixes: 7c2344c3bbf9 ("IB/mlx5: Implements disassociate_ucontext API")
Reviewed-by: Yishai Hadas <[email protected]>
Signed-off-by: Majd Dibbiny <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions