From: Benjamin LaHaise Date: Tue, 3 Jan 2006 22:10:46 +0000 (-0800) Subject: [AF_UNIX]: Convert to use a spinlock instead of rwlock X-Git-Tag: v2.6.16-rc1~474^2~22^2~9^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd19f329a32bdc4eb07885e0b3889567cfe00aa7;p=pandora-kernel.git [AF_UNIX]: Convert to use a spinlock instead of rwlock From: Benjamin LaHaise In af_unix, a rwlock is used to protect internal state. At least on my P4 with HT it is faster to use a spinlock due to the simpler memory barrier used to unlock. This patch raises bw_unix to ~690K/s. Signed-off-by: David S. Miller --- Reading git-diff-tree failed