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-ia64-devel

Re: [Xen-ia64-devel] a potential issue in set/get-rse-reg function

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] a potential issue in set/get-rse-reg function
From: Matt Chapman <matthewc@xxxxxxxxxxxxxxx>
Date: Tue, 13 Sep 2005 19:37:49 +1000
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 Sep 2005 09:36:01 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9DE394C12A921946AEECE1F71944ECD5029875FD@pdsmsx404>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <9DE394C12A921946AEECE1F71944ECD5029875FD@pdsmsx404>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
Anthony,

As far as I know, existing processor implementations (i.e. Itanium 1
& Itanium 2) only implement lazy mode.  Is this no longer true...?

Matt


On Tue, Sep 13, 2005 at 05:07:36PM +0800, Xu, Anthony wrote:
> Dan,
> 
> In current implementation, Guest stack register of current guest
> function can be saved in hypervisor backing store or/and guest backing
> store, if some saved in guest backing store, set/get-rse-reg will
> directly access guest backing store, at this time, tlb miss may happen.
> But tlb miss handler only search guest vhpt not guest page table, that
> means it is possible hypervisor can't handle this tlb miss and inject
> tlb miss to guest kernel, at this situation, I think hypervisor can't
> inject tlb miss to guest kernel. 
> One explicit solution is in ivt.S set rse to lazy mode before do 'cover'
> to make sure guest stack register of current guest function are all
> saved in hypervisor backing store. Yes this solution will penalize
> performance, but just a little, because there are only about ten
> assembly instructions between 'cover' and 'mov ar.rse=0' in current
> implementation.
> What's your opinion?
> 
> Thanks
> Anthony.
> 
> _______________________________________________
> Xen-ia64-devel mailing list
> Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-ia64-devel

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

<Prev in Thread] Current Thread [Next in Thread>