Re: [PATCH 00/10] PV-IO v3

Avi Kivity
2007-08-19T09:24:43Z

Rusty Russell wrote:
> 2) We either need huge descriptors or some chaining mechanism to
> handle scatter-gather.
>

Or, my preference, have a small sglist in the descriptor; if the buffer
doesn't fit in the sglist follow a pointer and size (stored in the same
place as the immediate sglist) to an external sglist.

The advantage of this is that it doesn't complicate descriptor
allocation and accounting (if you have large sglists, suddenly you have
fewer than expected effective descriptors).

--
error compiling committee.c: too many arguments to function