6 messages in com.xensource.lists.xen-develRe: [Xen-devel] xenbus_backend_client...
FromSent OnAttachments
Kieran Mansley19 Feb 2007 06:00.Other
Keir Fraser19 Feb 2007 07:16 
Kieran Mansley19 Feb 2007 08:08 
Keir Fraser19 Feb 2007 08:49 
Kieran Mansley19 Feb 2007 09:07 
Keir Fraser19 Feb 2007 09:47 
Subject:Re: [Xen-devel] xenbus_backend_client.c / xenbus_client.c merger
From:Keir Fraser (ke@xensource.com)
Date:02/19/2007 09:47:52 AM
List:com.xensource.lists.xen-devel

On 19/2/07 17:07, "Kieran Mansley" <kman@solarflare.com> 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