[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xenbus_backend_client.c / xenbus_client.c merger

On 19/2/07 17:07, "Kieran Mansley" <kmansley@xxxxxxxxxxxxxx> wrote:

> Accepting one grant reference is not a big deal - I can just get a grant
> per page and pass all the grants, then allocate a two page vm_area map
> the individual grants at the appropriate offsets into that area to get
> them virtually contiguous.

Then it doesn't seem that a new helper function is very useful! You'll just
end up with alloc_vm_area() followed by open coding of requesting mapping of
two grant references, won't you? A general function that did all that would
be reasonable, and then I'd get rid of the special-case 'ring' functions.

  -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.