xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Wei Liu <liuw@liuw.name>
Cc: xen-devel@lists.xensource.com,
	Christopher Benninger <chrisbenninger@gmail.com>
Subject: Re: MULTI_mmu_update, HYPERVISOR_mmu_update and pte entry
Date: Wed, 18 May 2011 01:09:59 -0700	[thread overview]
Message-ID: <1305706199.4198.0.camel@abulafia.goop.org> (raw)
In-Reply-To: <BANLkTimQMJ4MceFvJ+yMxuCa7Tdt_qdtEA@mail.gmail.com>

On Wed, 2011-05-18 at 13:47 +0800, Wei Liu wrote:
> On Wed, May 18, 2011 at 1:25 PM, Christopher Benninger
> <chrisbenninger@gmail.com> 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.

If you can record it at the time of the setpte, its easy: "current" is
always the current task.

	J

  reply	other threads:[~2011-05-18  8:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12 22:41 MULTI_mmu_update, HYPERVISOR_mmu_update and pte entry chrisbenninger
2011-05-17 22:29 ` Jeremy Fitzhardinge
2011-05-18  5:25   ` Christopher Benninger
2011-05-18  5:47     ` Wei Liu
2011-05-18  8:09       ` Jeremy Fitzhardinge [this message]
2011-05-19 17:37         ` Christopher Benninger
2011-05-19 17:49           ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1305706199.4198.0.camel@abulafia.goop.org \
    --to=jeremy@goop.org \
    --cc=chrisbenninger@gmail.com \
    --cc=liuw@liuw.name \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).