]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit7b5654349e4728021b9301e42ae16fa11f6832c8
treeabd5d5b3504c7fd67a1b39fe92cb5aadf7155e3d
parentd3ffaefa1bbcfba1b4ef985fd53406f31b98f277
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