From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: unable to capture an expected page fault Date: Tue, 17 Jan 2012 11:12:22 +0000 Message-ID: <20120117111222.GC74654@ocelot.phlegethon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Study Xen Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, At 03:08 -0500 on 17 Jan (1326769684), Study Xen wrote: > I was trying to modify part of Xen and faced a page fault missing issue. > > I am testing a PV Linux 64-bit guest (kernel 3.1.1, as dom0, the only > domain in my setting) atop Xen 4.1.2. In an unmodified Xen, the Linux > kernel's "native_set_pte" in "arch/x86/include/asm/pgtable_64.h" traps into > Xen due to Xen's write-protection of the pagetable page. But in our > modified version, this expected page fault seems missing. Well, I suppose it must be something you changed. :) But since you don't say what you changed I'm not sure how much we can help you. If the pagetables are indeed correct then maybe you're missing a TLB flush somewhere? Tim.