]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c327a99f66f52c585f0aeea9497cb2855987289
tree60268171e32aff9938334806d0debd5c35b3dc56
parentf816611c2805dd4c7b62f0ba6b4b673a6c022c39
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