summaryrefslogtreecommitdiff
path: root/include/rdma
diff options
context:
space:
mode:
authorJan Dakinevich <jan.dakinevich@virtuozzo.com>2018-07-09 16:51:08 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-07-10 20:13:05 +0300
commit781a4016be54ac36b22eac2e84c7fe4cafd3492a (patch)
tree1aa0683c872bd40cc528bc21f4fdda253a3d6371 /include/rdma
parent8942acea3723ff9424dc89350d2ab6e969fdd093 (diff)
downloadlinux-781a4016be54ac36b22eac2e84c7fe4cafd3492a.tar.xz
ib_srpt: use kvmalloc to allocate ring pointers
An array of pointers to SRPT contexts in ib_device is over 30KiB even in default case, in which an amount of contexts is 4095. The patch is intended to weed out large contigous allocation for non-DMA memory. Signed-off-by: Jan Dakinevich <jan.dakinevich@virtuozzo.com> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions