RDS/IB: add _to_node() macros for numa and use {k,v}malloc_node()
authorAndy Grover <andy.grover@oracle.com>
Fri, 23 Apr 2010 17:49:53 +0000 (10:49 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:14:06 +0000 (18:14 -0700)
commite4c52c98e04937ea87b0979a81354d0040d284f9
treec7bfbd9d952ebb66e7491d7c3a1bc91db3fbfbb8
parent4a81802b5e5e0b059627d7173c917711cf35e668
RDS/IB: add _to_node() macros for numa and use {k,v}malloc_node()

Allocate send/recv rings in memory that is node-local to the HCA.
This significantly helps performance.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/ib.c
net/rds/ib.h
net/rds/ib_cm.c
net/rds/ib_rdma.c