diff options
author | Danit Goldberg <danitg@mellanox.com> | 2019-09-16 09:48:17 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-09-16 19:39:56 +0300 |
commit | 130c2c576e75efaea9cd321ec4b171cc93cd0030 (patch) | |
tree | a7f3e40f8f15ba57679b5daaf8a62c421767e343 /scripts/gdb/linux/utils.py | |
parent | d97a3e92f33685768be04b2dfcd812f78f8ef341 (diff) | |
download | linux-130c2c576e75efaea9cd321ec4b171cc93cd0030.tar.xz |
IB/mlx5: Use the original address for the page during free_pages
The removal of 'buffer' in the patch below caused free_page() to use a
value that had been offset since the wqe pointer is adjusted while the
routine runs.
The current implementation of free_pages() rounds down to a pfn,
discarding the adjustment, but this is not the right way to use the
API. Preserve the initial value and use it for free_page().
Fixes: 0f51427bd097 ("RDMA/mlx5: Cleanup WQE page fault handler")
Link: https://lore.kernel.org/r/20190916064818.19823-2-leon@kernel.org
Signed-off-by: Danit Goldberg <danitg@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions