> On Fri, 2005-12-16 at 15:58 -0500, Benjamin LaHaise wrote:
> > On Fri, Dec 16, 2005 at 12:59:57PM -0800, Joe Perches wrote:
> > > How about moving this into a helper function and calling it from 
> > > alloc_skb_from_cache too?
> > 
> > The previous patch deleted alloc_skb_from_cache(), which wasn't 
> > referenced from anywhere in the tree.
> 
> Ian, is this still used?

Yep, very much so: it's a big performance win for Xen.

BTW: We're planing on splitting out more xen patches and posting them to
lkml over the next few weeks -- We've just all been working flat out to
get our own release out (Xen 3.0.0 shipped last week).  You can see the
current state of the xen 'subarch' tree for i386/x86_64 by visting:
http://xenbits.xensource.com/ext/linux-2.6-merge.hg

Best, 
Ian

> from the 2.6.11 changelog:
> 
> <[EMAIL PROTECTED]>
>       [NET]: Add alloc_skb_from_cache.
>       
>       This serves two purposes: firstly, we like to allocate 
> page-sized skbs
>       as this means we zero-copy transfer of network buffers 
> between guest
>       operating systems. Secondly, it enables us to have a 
> cache of pages
>       that have been used for network buffers that we can be 
> more lax about
>       scrubbing when they change VM ownership (since they 
> could be sniffed on
>       the wire).
>       
>       Signed-off-by: David S. Miller <[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

Reply via email to