xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Jaeyong Yoo <jaeyong.yoo@samsung.com>
Cc: 'Elena Pyatunina' <e.pyatunina@samsung.com>, xen-devel@lists.xen.org
Subject: Re: [PATCH RFC v2 6/9] xen/arm: Add handling write fault for dirty-page tracing
Date: Sun, 7 Jul 2013 17:53:14 +0100	[thread overview]
Message-ID: <1373215994.5453.22.camel@hastur.hellion.org.uk> (raw)
In-Reply-To: <003301ce793a$0d3d7a80$27b86f80$%yoo@samsung.com>

On Fri, 2013-07-05 at 13:42 +0900, Jaeyong Yoo wrote:
> > > > I think we'd want to establish a linear map of the current guest p2m
> > > > for these purposes so we could also avoid all the map_domain_page
> > > > stuff in the fault path. I think there is enough virtual address
> > > > space left for that even on 32-bit, it's less critical on 64-bit
> > > > anyway since we are about to have a direct map of RAM available to us.
> > >
> > > I think it is a good idea to have an ever-mapping linear dirty-bit map
> > > for guest p2m.
> > 
> > By Linear map I meant slotting the p2m into the hypervisor's own page
> > tables (I believe the relevant p2m and pte bits in the entries do not
> > overlap, so this is possible), such that the p2m table entries are
> > available at known virtual addresses and you can locate the L1, L2 and
> > L3 entries corresponding to a given guest physical address with just
> > arithmetic, i.e. something like:
> > http://www.technovelty.org/linux/virtual-linear-page-table.html
> 
> Which virtual address range should we map the p2m? Would it be xenheap, 
> domheap, or unassigned range (for instance, between  frametable and vmap)?

Since it needs to take over a bunch of entries in the page tables it
should be its own virtual address range. Looking at
xen/include/asm-arm/config.h between the frametable and vmap seems
sensible.

Ian.

  reply	other threads:[~2013-07-07 16:53 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03  9:15 [PATCH RFC v2 0/9] Preliminary working version of live migration Jaeyong Yoo
2013-07-03  9:15 ` [PATCH RFC v2 1/9] xen-arm: Implement basic save/load for hvm context Jaeyong Yoo
2013-07-03 11:29   ` Stefano Stabellini
2013-07-03 23:51     ` Jaeyong Yoo
2013-07-03  9:15 ` [PATCH RFC v2 2/9] xen/arm: Implement save and restore for gic, vtimer, and ptimer Jaeyong Yoo
2013-07-03 11:29   ` Stefano Stabellini
2013-07-03 23:53     ` Jaeyong Yoo
2013-07-03  9:15 ` [PATCH RFC v2 3/9] xen/arm: Add more registers for saving and restoring vcpu registers Jaeyong Yoo
2013-07-03 11:29   ` Stefano Stabellini
2013-07-03  9:15 ` [PATCH RFC v2 4/9] xen/arm: Implement get_maximum_gpfn hypercall for arm Jaeyong Yoo
2013-07-03 11:29   ` Stefano Stabellini
2013-07-03 11:35     ` Ian Campbell
2013-07-04  0:09       ` Jaeyong Yoo
2013-07-04  8:47         ` Ian Campbell
2013-07-03  9:15 ` [PATCH RFC v2 5/9] xen/arm: Implement modify_returncode Jaeyong Yoo
2013-07-03  9:15 ` [PATCH RFC v2 6/9] xen/arm: Add handling write fault for dirty-page tracing Jaeyong Yoo
2013-07-03 12:10   ` Stefano Stabellini
2013-07-04  0:44     ` Jaeyong Yoo
2013-07-03 12:26   ` Ian Campbell
2013-07-04  1:02     ` Jaeyong Yoo
2013-07-04  7:21       ` Jaeyong Yoo
2013-07-04  8:46       ` Ian Campbell
2013-07-04 11:47         ` Jaeyong Yoo
2013-07-05  4:42         ` Jaeyong Yoo
2013-07-07 16:53           ` Ian Campbell [this message]
2013-07-12  0:54             ` Jaeyong Yoo
2013-07-03  9:15 ` [PATCH RFC v2 7/9] xen/arm: Missing impl of clear_guest_offset macro Jaeyong Yoo
2013-07-03 11:37   ` Stefano Stabellini
2013-07-03 11:57     ` Ian Campbell
2013-07-04  0:09     ` Jaeyong Yoo
2013-07-03  9:15 ` [PATCH RFC v2 8/9] xen/arm: Implement hypercall for dirty page tracing (shadow op) Jaeyong Yoo
2013-07-03 12:38   ` Stefano Stabellini
2013-07-04  1:25     ` Jaeyong Yoo
2013-07-04  8:42       ` Ian Campbell
2013-07-04 10:18         ` Jaeyong Yoo
2013-07-04 10:29           ` Stefano Stabellini
2013-07-04 10:36             ` Ian Campbell
2013-07-10 15:34               ` Eugene Fedotov
2013-07-10 15:39                 ` Ian Campbell
2013-07-11 10:18                   ` Eugene Fedotov
2013-07-11 11:24                     ` Ian Campbell
2013-07-03  9:15 ` [PATCH RFC v2 9/9] xen/arm: Implement toolstack for xl restore/save and migrate Jaeyong Yoo
2013-07-03  9:21 ` [PATCH RFC v2 0/9] Preliminary working version of live migration Ian Campbell
2013-07-03 12:54 ` Stefano Stabellini

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=1373215994.5453.22.camel@hastur.hellion.org.uk \
    --to=ian.campbell@citrix.com \
    --cc=e.pyatunina@samsung.com \
    --cc=jaeyong.yoo@samsung.com \
    --cc=xen-devel@lists.xen.org \
    /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).