]> 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)
commit303e0883214a4a898998c6427792055a44d498a7
tree295d58dabc52c32e2d9ce83d0e5348643a64af0a
parentf525c55e056eb17305b7bd26db13ccac29ced486
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