Messages in this thread | | | Date | Fri, 6 Feb 2009 19:09:24 +1100 | From | Herbert Xu <> | Subject | Re: [PATCH v2] tcp: splice as many packets as possible at once |
| |
On Thu, Feb 05, 2009 at 11:52:58PM -0800, David Miller wrote: > > In fact we can optimize that even further in many ways, for example by > dropping the skb->data backed memory once the skb is queued to the > socket receive buffer. That will make skb->data buffer lifetimes > miniscule even under heavy receive load.
Indeed, while I was doing the tun accounting stuff and reviewing the rx accounting users, it was apparent that we don't need to carry most of this stuff in our receive queues.
This is almost the opposite of the skbless data idea for TSO.
Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |