Re: [PATCH] remove superfluous reference counting in unix_stream_sendmsg

2005-12-09 Thread David S. Miller
From: Benjamin LaHaise <[EMAIL PROTECTED]> Date: Fri, 9 Dec 2005 17:31:48 -0500 > AF_UNIX stream socket performance on P4 CPUs tends to suffer due to a lot > of pipeline flushes from atomic operations. The patch below removes the > sock_hold() and sock_put() in unix_stream_sendmsg(). This shou

[PATCH] remove superfluous reference counting in unix_stream_sendmsg

2005-12-09 Thread Benjamin LaHaise
AF_UNIX stream socket performance on P4 CPUs tends to suffer due to a lot of pipeline flushes from atomic operations. The patch below removes the sock_hold() and sock_put() in unix_stream_sendmsg(). This should be safe as the socket still holds a reference to its peer which is only released a