All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andres Lagar-Cavilla <andreslc@cs.toronto.edu>
To: xen-devel@lists.xensource.com
Subject: Question on save/restore mfn canonicalization
Date: Fri, 28 Sep 2007 12:25:28 -0400	[thread overview]
Message-ID: <46FD2AF8.30107@cs.toronto.edu> (raw)

While exploring the paravirt save/restore code path, I noted a 
(seemingly) lack of consistency between where/who canonicalizes 
something and who un-canonicalizes. For example, the guest kernel 
canonicalizes the store and console mfn's in pre_suspend, but 
xc_domain_restore uncanonicalizes them before scheduling back the 
restored guest.
The question is if there is a mandatory reason for this, or is just the 
way the code was written. Can I, e.g, fill the 
pfn_to_mfn_frame_list(_list) entries from "outside" and remove that code 
from post_suspend, or will something break?

Thanks!
Andres

             reply	other threads:[~2007-09-28 16:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28 16:25 Andres Lagar-Cavilla [this message]
2007-09-28 17:54 ` Question on save/restore mfn canonicalization John Levon
2007-09-28 18:55   ` Andres Lagar-Cavilla
2007-09-29  6:46     ` Keir Fraser

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=46FD2AF8.30107@cs.toronto.edu \
    --to=andreslc@cs.toronto.edu \
    --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.