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

RE: [Xen-devel] transferring ownership of domheap pages


  • To: 'Dan Magenheimer' <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Fri, 13 Feb 2009 09:50:20 +0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc:
  • Delivery-date: Thu, 12 Feb 2009 17:51:17 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcmNdoZ4OLT9T72RSz2K61+h7DGJTwABr7bw
  • Thread-topic: [Xen-devel] transferring ownership of domheap pages

>From: Dan Magenheimer
>Sent: Friday, February 13, 2009 8:59 AM
>
>I'd like to have routines to transfer ownership
>of a page both from domain D1 to anonymous and
>from anonymous to domain D2, without the necessity
>of doing a free_domheap_pages followed by an
>alloc_domheap_pages (primarily because I don't
>want to scrub the page as I know it will be
>immediately overwritten by the new owner).
>The anon-to-D2 would fail (return NULL) if
>D2 is fully allocated.
>
>Any problems to watch out for?
>
>Thanks,
>Dan
>

It's doable. I guess gnttab_transfer could be referenced
similar to your purpose, but I didn't look into detail. :-)

Thanks,
Kevin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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