All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andres Lagar-Cavilla <andreslc@cs.toronto.edu>
To: John Levon <levon@movementarian.org>
Cc: xen-devel@lists.xensource.com
Subject: Re: Question on save/restore mfn canonicalization
Date: Fri, 28 Sep 2007 14:55:01 -0400	[thread overview]
Message-ID: <46FD4E05.60600@cs.toronto.edu> (raw)
In-Reply-To: <20070928175429.GE17700@totally.trollied.org.uk>

Well, when you're in school you don't have to care about breaking ABI's :)
So, the answer is then "no particular reason"?
Andres
John Levon wrote:
> On Fri, Sep 28, 2007 at 12:25:28PM -0400, Andres Lagar-Cavilla wrote:
>
>   
>> 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?
>>     
>
> You'll break the ABI. I don't know of a reason why it's so inconsistent.
>
> regards
> john
>   

  reply	other threads:[~2007-09-28 18:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28 16:25 Question on save/restore mfn canonicalization Andres Lagar-Cavilla
2007-09-28 17:54 ` John Levon
2007-09-28 18:55   ` Andres Lagar-Cavilla [this message]
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=46FD4E05.60600@cs.toronto.edu \
    --to=andreslc@cs.toronto.edu \
    --cc=levon@movementarian.org \
    --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.