From: Dan Magenheimer Subject: transferring ownership of domheap pages Date: Fri, 13 Feb 2009 00:59:19 +0000 (GMT) Message-ID: <74298c36-20e2-47e1-8eb1-428f004a8ab3@default> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org 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 P.S. Only has to work on 64-bit Xen if that matters.