From: Bill Fink <[EMAIL PROTECTED]>
Date: Fri, 31 Mar 2006 10:15:08 -0500

> Another reason the SO_SNDBUF/SO_RCVBUF values shouldn't include
> the kernel overhead.  If the user requests 100K of kernel data
> buffering, then they should get 100K.  It shouldn't matter to the
> user that the kernel would actually be using a total of 167K of
> memory to satisfy the request for 100K of data buffering.

It matters to the kernel because the socket snd and receive
buffer _limits_ decide how much we can let any particular
socket consume at once.

That's why we include the struct sk_buff et al. overhead into
the calculations in the first place.
-
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

Reply via email to