Home
last modified time | relevance | path

Searched hist:fd19f329a32bdc4eb07885e0b3889567cfe00aa7 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/
H A Daf_unix.hdiff fd19f329a32bdc4eb07885e0b3889567cfe00aa7 Tue Jan 03 16:10:46 CST 2006 Benjamin LaHaise <bcrl@kvack.org> [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>
/openbmc/linux/net/unix/
H A Daf_unix.cdiff fd19f329a32bdc4eb07885e0b3889567cfe00aa7 Tue Jan 03 16:10:46 CST 2006 Benjamin LaHaise <bcrl@kvack.org> [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>