Re: zero-copy TCP fileserving

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Fri, 4 Jun 1999 19:17:47 +0200


Alan Cox wrote:
> Fundamentally. skbuffs are single physically linear blocks, BSD mbufs are
> chains of small blocks. The BSD code nowdays makes heavy use of "mbuf
> clusters" to effectively get linear buffers most of the time.
>
> Having chains means you keep having to say 'is the rest of this structure
> in this buffer' and 'copy this around a bit to make the structure in one
> buffer'.

So all this talk of zero-copy file serving, scatter gather DMA and so on
would require some kind of mbuf abstraction?

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/