[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] transferring ownership of domheap pages
On 13/02/2009 00:59, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote: > 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? See (and use) mm.c:steal_page(). Only works of course if D1 has no mappings of the page. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |