aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2019-12-22 14:46:48 +0200
committerJason Gunthorpe <jgg@mellanox.com>2020-01-03 17:00:13 -0400
commitd07de8bd1709a80a282963ad7b2535148678a9e4 (patch)
tree55703196cb587b7c95161af3d08e0bf249cc891a /tools/perf/scripts/python/export-to-postgresql.py
parentIB/mlx5: Unify ODP MR code paths to allow extra flexibility (diff)
downloadlinux-dev-d07de8bd1709a80a282963ad7b2535148678a9e4.tar.xz
linux-dev-d07de8bd1709a80a282963ad7b2535148678a9e4.zip
IB/core: Fix ODP get user pages flow
The nr_pages argument of get_user_pages_remote() should always be in terms of the system page size, not the MR page size. Use PAGE_SIZE instead of umem_odp->page_shift. Fixes: 403cd12e2cf7 ("IB/umem: Add contiguous ODP support") Link: https://lore.kernel.org/r/20191222124649.52300-3-leon@kernel.org Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com> Reviewed-by: Jason Gunthorpe <jgg@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-postgresql.py')
0 files changed, 0 insertions, 0 deletions