xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Eric Camachat <eric.camachat@gmail.com>
To: Wei Liu <liuw@liuw.name>
Cc: xen-devel@lists.xensource.com,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: mmap in PV xen-4.0.1
Date: Thu, 11 Aug 2011 10:11:20 -0700	[thread overview]
Message-ID: <CACeEFf7X1cCwPxDfaCGuUGF0qTnrBO_jnMa_UNd_Ni2=AosAoA@mail.gmail.com> (raw)
In-Reply-To: <CACeEFf72bXGhgb=O9U-eavV7yqBNAepx_EZ+Lp5nPFa7KK_zeQ@mail.gmail.com>

On Wed, Aug 10, 2011 at 8:10 PM, Eric Camachat <eric.camachat@gmail.com> wrote:
> On Wed, Aug 10, 2011 at 6:31 PM, Wei Liu <liuw@liuw.name> wrote:
>> On Wed, Aug 10, 2011 at 12:45:20PM -0700, Eric Camachat wrote:
>>> The idea is move servers into XEN domU.
>>> I saw that 3.0 has built-in XEN support, I can try it later.
>>> But I don't know if other components are compatible with 3.0.
>>>
>>> I just wonder that MFN should equals PFN in PV (para-virtualization),
>>> so it should works properly.
>>>
>>
>> If by "PFN" you mean "Physical Frame Number", then I think you made a
>> wrong assumption here.
>>
>> MFN and PFN has no linear, 1:1 mapping relationship, let alone say
>> they are equal.
>>
>> Wei.
>>
> I misunderstood in GFN and PFN, MFN and GFN should be equal.
> So PV domU has the same memory view with real hardware, right?
>
> Ref. http://blog.xen.org/index.php/2009/10/09/xen-memory-management-overview-presentation/
>

Let us back to my original concern:
Why remap_pfn_range() woks with my own device node, but deesn't work
with /dev/mem node?
This behavior is confused me.

/Eric

  reply	other threads:[~2011-08-11 17:11 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CACeEFf77eOLLNgsJwEYdzeiuxm+qDcO2zs09FK-Waas0sxcwLQ@mail.gmail.com>
2011-08-10  6:29 ` mmap in PV xen-4.0.1 Eric Camachat
2011-08-10  9:12   ` Wei Liu
2011-08-10 17:14     ` Ranjith Ravi
2011-08-10 17:50       ` Konrad Rzeszutek Wilk
2011-08-10 18:31     ` Eric Camachat
2011-08-10 19:25       ` Konrad Rzeszutek Wilk
2011-08-10 19:42         ` Ian Campbell
2011-08-10 19:45           ` Eric Camachat
2011-08-10 20:59             ` BUG: soft lockup - CPU#0 stuck for 61s! [swapper:0] Mark Schneider
2011-08-13 15:15               ` Konrad Rzeszutek Wilk
2011-08-10 19:45         ` mmap in PV xen-4.0.1 Eric Camachat
2011-08-11  1:31           ` Wei Liu
2011-08-11  3:10             ` Eric Camachat
2011-08-11 17:11               ` Eric Camachat [this message]
2011-08-12  4:26                 ` Wei Liu
2011-08-12 17:20                   ` Eric Camachat
2011-08-16  3:13                     ` Ranjith Ravi
2011-08-16  5:06                       ` Konrad Rzeszutek Wilk
2011-08-16 18:27                         ` Ranjith Ravi
2011-08-17  2:20                           ` Konrad Rzeszutek Wilk
2011-08-11  0:33         ` Eric Camachat
2011-08-11  1:21       ` Wei Liu
2011-08-11  1:29         ` Eric Camachat

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='CACeEFf7X1cCwPxDfaCGuUGF0qTnrBO_jnMa_UNd_Ni2=AosAoA@mail.gmail.com' \
    --to=eric.camachat@gmail.com \
    --cc=konrad.wilk@oracle.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).