From: Jacob Gorm Hansen <jacobg@diku.dk>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Tracking changes to writable page tables
Date: Sun, 15 May 2005 00:08:58 -0700 [thread overview]
Message-ID: <4286F58A.6070205@diku.dk> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D1E401D@liverpoolst.ad.cl.cam.ac.uk>
Ian Pratt wrote:
>>It looks like xenlinux 2.6 now uses writable page tables by
>>default (I can't find the switch to enable/disable them).
>>
>>I need to track writes to page tables, and I was wondering if
>>it is possible to get a page fault upon writes to read-only
>>mapped page tables, as when writing to other read-only mappings?
>
>
> Hmm, I can see that the current model makes like difficult for you
> (though self-migration is a pretty twisted thing to be trying to do
> anyway :-)
>
Hmm while we are discussing twisted things; would it be possible to
implement writable page tables in the guest rather than in Xen?
The guest would then take the fault, unpin and decouple the page table
from the page directory, change the protection, and do the reverse when
the page table is next used.
I suppose that would be a (somewhat radical) solution to my problem.
Jacob
next prev parent reply other threads:[~2005-05-15 7:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-15 4:57 Tracking changes to writable page tables Ian Pratt
2005-05-15 7:08 ` Jacob Gorm Hansen [this message]
2005-05-15 7:26 ` Jacob Gorm Hansen
2005-05-15 8:30 ` Jacob Gorm Hansen
2005-05-15 19:23 ` Jacob Gorm Hansen
-- strict thread matches above, loose matches on Subject: below --
2005-05-15 10:00 Ian Pratt
2005-05-15 9:50 Ian Pratt
2005-05-15 2:17 Jacob Gorm Hansen
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=4286F58A.6070205@diku.dk \
--to=jacobg@diku.dk \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.