Re: send(), sendmsg(), sendto() not thread-safe

2006-05-16 Thread Mike Stroyan
ting sends of under PIPE_BUF bytes to be atomic on a socket. But I don't actually find any guarantee of atomic writes for sockets, even for sizes below PIPE_BUF. -- Mike Stroyan, [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Another look at established socket hash table size

2005-11-29 Thread Mike Stroyan
On Tue, Nov 29, 2005 at 01:33:34PM -0800, David S. Miller wrote: > From: Mike Stroyan <[EMAIL PROTECTED]> > Date: Tue, 29 Nov 2005 14:23:10 -0700 > > > The tcp_ehash hash table gets too big on systems with really big memory. > > It is worse on systems with pages

Another look at established socket hash table size

2005-11-29 Thread Mike Stroyan
15 : 17, HASH_HIGHMEM, &rt_hash_log, &rt_hash_mask, -- Mike Stroyan, [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe netdev" in t