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: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Matt Chapman" <matthewc@xxxxxxxxxxxxxxx>, "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>
Subject: RE: [Xen-ia64-devel] RE: vcpu_translate issue
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Thu, 10 Nov 2005 16:44:19 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 10 Nov 2005 08:44:24 +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: AcXlxV52xxdYIWzOQN22PUMBIlq5OQACXfZQAADwSGA=
Thread-topic: [Xen-ia64-devel] RE: vcpu_translate issue
>From: Tian, Kevin
>>- Xen handling of NULL pointer dereferences is wrong.  If I recall
>>  correctly from vNUMA, we should be delivering a NaT consumption
>>  fault, because Linux maps a NaTpage at 0.  Ideally the NaTpage
>>  memory attribute should be propagated into the real mapping, and
>>  then we can reflect the NaT consumption fault directly to Linux.
>
>We shouldn't depend on guest specific behavior for such assumption. The
preferable
>way is always to search the vTLB to check corresponding attribute. If
it's mapped as
>NaTpage by guest, then inject NaT consumption, or else just inject
normal TLB miss
>to guest.

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. ;-)

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>