IB/rdmavt: Use kzalloc_node
authorJubin John <jubin.john@intel.com>
Thu, 19 May 2016 12:21:31 +0000 (05:21 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 26 May 2016 15:23:10 +0000 (11:23 -0400)
commit49961f8fe8264fa231fbdcc4ca52c6706fdb2577
tree0dbed9e88435942df41e77155409441e70d9252c
parent654b643670d82f14a62c888710e25248e03b0716
IB/rdmavt: Use kzalloc_node

Use kzalloc_node instead of kzalloc for rdmavt memory region segment
allocation to optimize for performance on NUMA platforms.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/mr.c