On Thu, Mar 21, 2013 at 07:22:01PM +0100, Juan Quintela wrote:
> "Michael S. Tsirkin" <[email protected]> wrote:
>
> >> <header>
> >> <page>
> >> <header>
> >> <page>
> >> <header>
> >> <page>
> >>
> >> We can optimize at some pount to write a bigger/different header and
> >> sent a bunch of pages together, but just now we don't have that code.
> >>
> >> Later, Juan.
> >
> > Sending the page can do vmsplice, can't it?
> > Multipage is likely a good idea anyway, e.g. RDMA wants to
> > do this too.
>
> RDMA requires de pages lock into memory, no?
>
> Later, Juan.
That's a separate issue, but the point is it is asynchronous.
It can be made to behave exactly the same implementing this API:
- send async: lock, send
- flush: poll for completion, unlock