Re: [PATCH net-next 0/5] sctp: use transport hashtable to replace association's with rhashtable
From: Eric Dumazet <hidden>
Date: 2015-12-30 17:19:41
Also in:
linux-sctp
From: Eric Dumazet <hidden>
Date: 2015-12-30 17:19:41
Also in:
linux-sctp
On Wed, 2015-12-30 at 23:50 +0800, Xin Long wrote:
besides, this patchset will use transport hashtable to replace association hashtable to lookup with rhashtable api. get transport first then get association by t->asoc. and also it will make tcp style work better.
SCTP already has a hash table, why not simply changing the way items are hashed into it ? Sure, storing thousands of sockets in a single hash bucket is not wise. Switching SCTP to rhashtable at this moment is premature, it is still moving fast.