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

xen-devel

[Top] [All Lists]

[Xen-devel] When can ptes be written by Xen?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] When can ptes be written by Xen?
From: "Jacob Gorm Hansen" <jacobg@xxxxxxx>
Date: 2006年6月30日 15:17:34 +0200
Delivery-date: 2006年6月30日 06:17:57 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=mSjVlqeXKYtm7cDss0MHY848wD0Etu37+wb2KkRlz2qe4vomQIJtB5gDwcItO1Jmp63X0jw+JoPE3zmdZ1MyuGigJgXRHkBKif1/8Bkq6rSMNo4GJMrvVqpeCoU7LtW0dJvQ+rWP8qGuLUvfzrCW5I/gx9fxdb4LSNDd/p/1ByQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi,
I am having a weird consistency problem with a XenLinux page that
changes even though it is mapped read-only.
The offending page looks like a pte, and it has PG_foreign set in it's
struct page. The page is zero-filled, but an 'invisible' write then
changes it to contain a value like:
0x0c642067
-- which to me looks like a user-accessible mapping of the mfn 0xc642
(this is x86-32). However, the page is not listed in any pgd in the
system, though it's mfn does map to a pfn belonging to the domain.
Before I do anything I attempt to make sure writable page tables are
flushed by executing a dummy mmu-update. I trap update_va_mapping()
calls, so that should not be the source of the error.
I can fix the problem by scanning the page array for all pages with
the foreign bit set and giving these special treatment. However that
will scale badly with the number of pages.
Under what conditions would Xen write to a pte like above?
Thanks in advance,
Jacob
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] When can ptes be written by Xen?, Jacob Gorm Hansen <=
Previous by Date: [Xen-devel] Xen Scheduler : What's the main difference between BVT and EDF? , rickey berkeley
Next by Date: Re: [Xen-devel] [PATCH - proposed] XI Shadow Page Table Mechanism] , Robert Phillips
Previous by Thread: [Xen-devel] Xen Scheduler : What's the main difference between BVT and EDF? , rickey berkeley
Next by Thread: [Xen-devel] [PATCH] MOV instructions in x86_emulate.c , Petersson, Mats
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /