WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel][VTD] 1:1 mapping for dom0 exhausts xenheap on x86/32 wit

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel][VTD] 1:1 mapping for dom0 exhausts xenheap on x86/32 with 4G memory
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Fri, 28 Sep 2007 16:00:55 +0800
Cc: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Fri, 28 Sep 2007 01:01:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C32272FC.E269%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <08DF4D958216244799FC84F3514D70F00ABA9F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C32272FC.E269%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgBkBj9hxSsSLqpQVyYGgB006zGCwACo/mRAAFHAlAAAM8z9AAANg3gAABq4QgAABddoA==
Thread-topic: [Xen-devel][VTD] 1:1 mapping for dom0 exhausts xenheap on x86/32 with 4G memory
Keir Fraser wrote:
> It's fine. Pass NULL as the domain pointer to alloc_domheap_page()
> and you get anonymous pages from the global domain heap. The 'domain'
> in the name of alloc_domheap_page() and map_domain_page() functions
> is a bit misleading! 
> 
>  -- Keir

I see. I am going to implement alloc_domheap_page() and
map_domain_page() method. Thanks.

Weidong

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