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: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Tue, 22 Apr 2008 19:49:22 +0800
Cc: "Xu, Anthony" <anthony.xu@xxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Tue, 22 Apr 2008 04:50:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C4337065.1FDC1%keir.fraser@xxxxxxxxxxxxx>
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: <08DF4D958216244799FC84F3514D70F00145BFB2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C4337065.1FDC1%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcikU/U3pfCdxRGgQWKd/PxtMk6F9AABbOHmAAAZSpAAAJq3BAADN6Lw
Thread-topic: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table
If EPT supports 2MB page, we need separate VT-d table to let them work
together. What's more, sharing makes coupling between VT-d page table
and p2m table. In case VT-d spec changes or p2m structure changes,
shared table will be broken.

Randy (Weidong)

Keir Fraser wrote:
> 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