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] RE: vcpu_translate issue

To: "Matt Chapman" <matthewc@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] RE: vcpu_translate issue
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Thu, 10 Nov 2005 17:02:52 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 10 Nov 2005 09:03:00 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXl1GM9hpisRwTeTe6BUrHHJGTEqwAAFLbA
Thread-topic: [Xen-ia64-devel] RE: vcpu_translate issue
>From: Matt Chapman [mailto:matthewc@xxxxxxxxxxxxxxx]
>Sent: 2005年11月10日 16:53
>
>On Thu, Nov 10, 2005 at 04:44:19PM +0800, Tian, Kevin wrote:
>>
>> A correction here. I'm not against propagate NaTpage attribute to
>> machine TLB, and only claim that Xen can just respond per attribute what
>> guest specified. No need to care whether page 0 is mapped specially. ;-)
>
>Yes, that's what I meant to say - we can propagate the NaTpage
>attribute to the machine TLB, then we can simply reflect the NaT
>fault.

Yes, when in machine TLB, Nat fault is injected automatically. Or else we still 
need to walk vTLB to check which fault should be injected. If no entry in vTLB, 
normal TLB miss needs to be reflected back to guest. ;-)

>
>I think delivering a TLB miss is not sufficient.  Because the
>mapping for the zero page is indeed in Linux's pagetable, the TLB
>miss handler succeeds in finding and inserting it, and the page
>fault handler is not triggered.
>
>Matt

Actually that depends. Only when short format vhpt entry exists in TLB which 
contains that mapping for zero page, low level TLB miss handler can hit it. Or 
else the flow still goes to C code page fault handler, right? 

Thanks,
kevin

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

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