From: Eric Dumazet Date: Thu, 20 Nov 2008 08:40:07 +0000 (-0800) Subject: net: listening_hash get a spinlock per bucket X-Git-Tag: v2.6.29-rc1~581^2~645 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5caea4ea7088e80ac5410d04660346094608b909;p=pandora-kernel.git net: listening_hash get a spinlock per bucket This patch prepares RCU migration of listening_hash table for TCP/DCCP protocols. listening_hash table being small (32 slots per protocol), we add a spinlock for each slot, instead of a single rwlock for whole table. This should reduce hold time of readers, and writers concurrency. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed