]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA: Remove rdma_user_mmap_page
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 16 Apr 2019 11:07:30 +0000 (14:07 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 24 Apr 2019 19:18:36 +0000 (16:18 -0300)
commit4eb6ab13b99148b5bf9bfdae7977fe139b4452f8
tree5fb41606bcef3c4553cbc8a66d292f147fa6daaf
parentddcdc368b1033e19fd3a5f750752e10e28a87826
RDMA: Remove rdma_user_mmap_page

Upon further research drivers that want this should simply call the core
function vm_insert_page(). The VMA holds a reference on the page and it
will be automatically freed when the last reference drops. No need for
disassociate to sequence the cleanup.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/hw/mlx5/main.c
include/rdma/ib_verbs.h