]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/odp: Use kvcalloc for the dma_list and page_list
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 19 Aug 2019 11:17:07 +0000 (14:17 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 21 Aug 2019 17:08:43 +0000 (14:08 -0300)
commit10df4b33cc2743c8196ae67f2305c8e4b5f7421d
tree295d58dabc52c32e2d9ce83d0e5348643a64af0a
parent5e3acbf5d1fccb0407a35edc0d88e12e79b9cb7d
RDMA/odp: Use kvcalloc for the dma_list and page_list

There is no specific need for these to be in the valloc space, let the
system decide automatically how to do the allocation.

Link: https://lore.kernel.org/r/20190819111710.18440-10-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/umem_odp.c