summaryrefslogtreecommitdiffstats
path: root/include/net/genetlink.h
diff options
context:
space:
mode:
authorBenjamin LaHaise <bcrl@kvack.org>2006-01-03 23:10:46 +0100
committerDavid S. Miller <davem@davemloft.net>2006-01-03 23:10:46 +0100
commitfd19f329a32bdc4eb07885e0b3889567cfe00aa7 (patch)
treec69943e8294cae13df6af3dc8b8c25abab8c9cfb /include/net/genetlink.h
parent[NET]: Speed up __alloc_skb() (diff)
downloadlinux-fd19f329a32bdc4eb07885e0b3889567cfe00aa7.tar.xz
linux-fd19f329a32bdc4eb07885e0b3889567cfe00aa7.zip
[AF_UNIX]: Convert to use a spinlock instead of rwlock
From: Benjamin LaHaise <bcrl@kvack.org> 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 <davem@davemloft.net>
Diffstat (limited to 'include/net/genetlink.h')
0 files changed, 0 insertions, 0 deletions