]> git.baikalelectronics.ru Git - kernel.git/commit
IPoIB: use kvzalloc to allocate an array of bucket pointers
authorJan Dakinevich <jan.dakinevich@virtuozzo.com>
Mon, 9 Jul 2018 13:51:03 +0000 (16:51 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 23 Jul 2018 21:08:20 +0000 (15:08 -0600)
commitfde5df8f5e395e1f8d386575ed06c2ab78324984
tree43152cb90098db361a362250ad89be0c31a2f34a
parenta09b3d0e9d31441f67afb64aac327f597520ec26
IPoIB: use kvzalloc to allocate an array of bucket pointers

This table by default takes 32KiB which is 3rd memory order. Meanwhile,
this memory is not aimed for DMA operation and could be safely allocated
by vmalloc.

Signed-off-by: Jan Dakinevich <jan.dakinevich@virtuozzo.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c