diff options
author | 2019-03-19 11:24:36 +0200 | |
---|---|---|
committer | 2019-03-27 15:27:11 -0300 | |
commit | 1abe186ed8a6593069bc122da55fc684383fdc1c (patch) | |
tree | e72d2040a57a70dcb5285b5395b549047599f268 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | IB/hfi1: Fix the allocation of RSM table (diff) | |
download | linux-rng-1abe186ed8a6593069bc122da55fc684383fdc1c.tar.xz linux-rng-1abe186ed8a6593069bc122da55fc684383fdc1c.zip |
IB/mlx5: Reset access mask when looping inside page fault handler
If page-fault handler spans multiple MRs then the access mask needs to
be reset before each MR handling or otherwise write access will be
granted to mapped pages instead of read-only.
Cc: <stable@vger.kernel.org> # 3.19
Fixes: 7bdf65d411c1 ("IB/mlx5: Handle page faults")
Reported-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
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