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>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table
From: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxxx>
Date: Tue, 22 Apr 2008 12:57:59 +0100
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, "Xu, Anthony" <anthony.xu@xxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Tue, 22 Apr 2008 05:00:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <08DF4D958216244799FC84F3514D70F00145BFF8@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>
References: <08DF4D958216244799FC84F3514D70F00145BFB2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx><C4337065.1FDC1%keir.fraser@xxxxxxxxxxxxx> <08DF4D958216244799FC84F3514D70F00145BFF8@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcikU/U3pfCdxRGgQWKd/PxtMk6F9AABbOHmAAAZSpAAAJq3BAADN6LwAAGQyzA=
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. 

Are you saying that the VT-d 2MB page format is different from the EPT
2MB page format? Or that VTd does not support 2MB pages?

Ian

> 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

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