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/
Home Products Support Community News


Re: [Xen-devel] MULTI_mmu_update, HYPERVISOR_mmu_update and pte entry

To: Christopher Benninger <chrisbenninger@xxxxxxxxx>
Subject: Re: [Xen-devel] MULTI_mmu_update, HYPERVISOR_mmu_update and pte entry
From: Wei Liu <liuw@xxxxxxxxx>
Date: Wed, 18 May 2011 13:47:24 +0800
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 May 2011 22:49:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTim4JrTUK5itYNqts4XPzTXma4Z=6A@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTim1p6W=zq9MDoU+xkmrR2xvapQ4mA@xxxxxxxxxxxxxx> <4DD2F6B1.5080208@xxxxxxxx> <BANLkTim4JrTUK5itYNqts4XPzTXma4Z=6A@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, May 18, 2011 at 1:25 PM, Christopher Benninger
<chrisbenninger@xxxxxxxxx> wrote:
> Hi Jeremy,
> I am definitely doing something weird, but on purpose. I am trying to
> determine which process specifically owns the pte in question. I have a domU
> module which I can ask for information, I just dont know how to get the ptr
> provided, into a useful context I can send it.

Most pte updates belong to current process. Maybe you can use CR3 to
determine to which page table a specified pte belongs. But it may be
hard to determine the actual task_struct IMHO.

Best regards
Wei Liu
Twitter: @iliuw
Site: http://liuw.name

Xen-devel mailing list