From: Benjamin LaHaise <[EMAIL PROTECTED]>
Date: Fri, 16 Dec 2005 15:01:41 -0500
> 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.
Also
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.
-ben
diff --git a/include/net/af_unix.h b/include/net/af_unix.h
index 3f302a