]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[AF_UNIX]: Use spinlock for unix_table_lock
authorDavid S. Miller <davem@davemloft.net>
Wed, 14 Dec 2005 07:26:29 +0000 (23:26 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 3 Jan 2006 21:10:59 +0000 (13:10 -0800)
commitfbe9cc4a87030d5cad5f944ffaef6af7efd119e4
treef4e9ce6608e1b8b7e160e44e68853a2b6e5e84d5
parentd83d8461f902c672bc1bd8fbc6a94e19f092da97
[AF_UNIX]: Use spinlock for unix_table_lock

This lock is actually taken mostly as a writer,
so using a rwlock actually just makes performance
worse especially on chips like the Intel P4.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/af_unix.h
net/unix/af_unix.c
net/unix/garbage.c