]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: convert bind hash table to re-sizable hashtable
authorsantosh.shilimkar@oracle.com <santosh.shilimkar@oracle.com>
Fri, 30 Oct 2015 15:49:10 +0000 (08:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Nov 2015 20:36:23 +0000 (15:36 -0500)
commit95422bbf062f9106c82144ec78ad7f8162a0f2f7
treeabd5d5b3504c7fd67a1b39fe92cb5aadf7155e3d
parent619a69860afa6e40abae796a501f2703ca5ba8de
RDS: convert bind hash table to re-sizable hashtable

To further improve the RDS connection scalabilty on massive systems
where number of sockets grows into tens of thousands  of sockets, there
is a need of larger bind hashtable. Pre-allocated 8K or 16K table is
not very flexible in terms of memory utilisation. The rhashtable
infrastructure gives us the flexibility to grow the hashtbable based
on use and also comes up with inbuilt efficient bucket(chain) handling.

Reviewed-by: David Miller <davem@davemloft.net>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/af_rds.c
net/rds/bind.c
net/rds/rds.h