From: Rusty Russell <[EMAIL PROTECTED]>
Date: Fri, 06 Jul 2007 17:43:46 +1000

> On Thu, 2007-07-05 at 17:15 -0700, David Miller wrote:
> > Also even with the scatterlist idea, we'd still need to do two
> > map calls, one for skb->data and one for the page vector.
> 
> We could make skb->shinfo(skb)->frags[0] the first segment and deprecate
> skb->data and skb->len.
> 
> OK, you can stop hitting me now...

The fly in that ointment is that referencing the backing
page of kmalloc() data is not safe currently, especially
with SLUB.

Jens Axboe ran into this while trying to implement sendfile()
via splice() several weeks ago, it's an ongoing battle that
even C. Lameter is even involved in now :-)
-
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