aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMajd Dibbiny <majd@mellanox.com>2017-12-24 13:54:56 +0200
committerJason Gunthorpe <jgg@mellanox.com>2017-12-27 15:24:40 -0700
commitad9a3668a434faca1339789ed2f043d679199309 (patch)
tree6ae4f8fc84efe4a0db5750a696c24bc06dddbb09 /tools/perf/scripts/python/export-to-sqlite.py
parent4c009af473b2026caaa26107e34d7cc68dad7756 (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: <stable@vger.kernel.org> # v4.7 Fixes: 7c2344c3bbf9 ("IB/mlx5: Implements disassociate_ucontext API") Reviewed-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions