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] [PATCH] [VTD] Separate VT-d page table from P2M table

To: "Han, Weidong" <weidong.han@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 22 Apr 2008 10:37:25 +0100
Cc: "Xu, Anthony" <anthony.xu@xxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Tue, 22 Apr 2008 02:39:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <08DF4D958216244799FC84F3514D70F00145BFB2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcikU/U3pfCdxRGgQWKd/PxtMk6F9AABbOHmAAAZSpAAAJq3BA==
Thread-topic: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table
User-agent: Microsoft-Entourage/11.4.0.080122
What are the tradeoffs? One obvious tradeoff is that separate tables doubles
the memory overhead. What are the advantages of separate tables? I believe
currently we share the pagetables (right?). If so, why would we even
consider moving to separate tables?

 -- Keir

On 22/4/08 10:34, "Han, Weidong" <weidong.han@xxxxxxxxx> wrote:

> Separate VT-d page table is by default. Shared VT-d page table may be
> easy and good in some cases. So we let them co-exist now. If shared VT-d
> page table is not necessary and useless, we can remove it easily in
> future.
> 
> Randy (weidong)
> 
> Keir Fraser wrote:
>> On 22/4/08 09:36, "Han, Weidong" <weidong.han@xxxxxxxxx> wrote:
>> 
>>> Currently VT-d page table shares with P2M table, this patch supports
>>> separate VT-d page table. 1) add an option (vtd_share) to control
>>> whether VT-d page table shares with P2M table or not.
>> 
>> Why? Is this just another option that noone will understand.
>> 
>>  -- Keir
> 



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