rds: Use RCU for the bind lookup searches
authorChris Mason <chris.mason@oracle.com>
Tue, 11 May 2010 22:09:45 +0000 (15:09 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:15:08 +0000 (18:15 -0700)
commit38a4e5e61344490f18241333d7b1b368a3a38748
tree60268171e32aff9938334806d0debd5c35b3dc56
parente4c52c98e04937ea87b0979a81354d0040d284f9
rds: Use RCU for the bind lookup searches

The RDS bind lookups are somewhat expensive in terms of CPU
time and locking overhead.  This commit changes them into a
faster RCU based hash tree instead of the rbtrees they were using
before.

On large NUMA systems it is a significant improvement.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
net/rds/af_rds.c
net/rds/bind.c
net/rds/ib_rdma.c
net/rds/rds.h