From: Mark Butler <[EMAIL PROTECTED]>
Date: Fri, 31 Mar 2006 10:26:05 -0700

> That could be done with separate atomic variables for allocated data and 
> allocated overhead, at measurable cost with relatively little gain.  
> Overhead would still have be tracked and limited separately to handle 
> cases where the overhead is far greater than the amount of pure data.

I think some of the commentary here misses the point.

The overhead is part of the allocations against the receive
buffer, that's the whole point.  It's not just the data but
the assosciated data structure overhead as well, and it's meant
to keep the user from eating up tons of kernel memory by
maliciously generating 1-byte packets, by whatever means.
-
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