diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-04-16 14:07:29 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-04-24 13:40:50 -0300 |
commit | ddcdc368b1033e19fd3a5f750752e10e28a87826 (patch) | |
tree | 8224512c2a347afe3bef0cb0ed5326ab569e9547 /include/rdma/ib_verbs.h | |
parent | 67f269b37f9b4d52c5e7f97acea26c0852e9b8a1 (diff) | |
download | linux-ddcdc368b1033e19fd3a5f750752e10e28a87826.tar.gz linux-ddcdc368b1033e19fd3a5f750752e10e28a87826.tar.bz2 linux-ddcdc368b1033e19fd3a5f750752e10e28a87826.zip |
RDMA/mlx5: Use get_zeroed_page() for clock_info
get_zeroed_page() returns a virtual address for the page which is better
than allocating a struct page and doing a permanent kmap on it.
Cc: stable@vger.kernel.org
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
0 files changed, 0 insertions, 0 deletions