From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: MULTI_mmu_update, HYPERVISOR_mmu_update and pte entry Date: Wed, 18 May 2011 13:47:24 +0800 Message-ID: References: <4DD2F6B1.5080208@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: 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: Christopher Benninger Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, May 18, 2011 at 1:25 PM, Christopher Benninger 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