From: tgh <tianguanhua@ncic.ac.cn>
To: Daniel Stodden <stodden@cs.tum.edu>
Cc: xen-devel@lists.xensource.com
Subject: Re: question about machine-to-physic table and phy-to-machine table
Date: Mon, 26 Mar 2007 09:39:56 +0800 [thread overview]
Message-ID: <4607246C.1060709@ncic.ac.cn> (raw)
In-Reply-To: <1174650272.3803.29.camel@lapbode42.lrr.in.tum.de>
Thank you for your reply
>> I am confused about the meaning and function of machine-to-physic address
>>
>
> it *is* confusing, admittedly. in my understanding, one reaseon for
> 'm2p'/'p2m' being used is that guest operating systems, most prominently
> linux, have always been using 'pfn' for 'page frame number' and the like
> when referring to 'physical' memory. now you need some kind of
> distinction in the paravirtual guest case, because those oses will deal
> with both.
>
in the paravirt case, guestos maintain its own mfn which need m2p and
p2m ,is it right?
I am confused about how does guestOS maintain its virt-to-physic and
physic-to-mach mapping ,in the linux ,there is only v2p mapping, how
does guestOS maintain its p2m mapping ,and when a virt address is put
into a mmu, does cpu hardware convert virt-addr into machine address or
guest's phyiscal address?
I am confused about it
could you help me
Thanks in advance
> that host memory becoming a non-contiguous, non-physical one clearly
> doesn't justify to substitute the names all across the kernel codebase.
> equally, you could not name it virtual or similar in the vmm, because
> the term 'virtual' has obviously been allocated elsewhere.
>
> so host memory became 'machine' memory. in a different universe, it
> might have rather been the actual 'physical' one. or 'host' memory.
> virtual machine memory got a 'p' like in both 'pseudo-physical' and/or
> 'pfn' and i suppose turned for a significant number of people into
> 'physical' at some point. which is largely misleading.
>
> regards,
> daniel
>
>
next prev parent reply other threads:[~2007-03-26 1:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-15 11:27 performance counters Jan Beulich
2007-03-15 11:58 ` Keir Fraser
2007-03-15 13:57 ` Jan Beulich
2007-03-15 14:01 ` Keir Fraser
2007-03-15 14:37 ` Jan Beulich
2007-03-15 15:03 ` Keir Fraser
2007-03-16 8:17 ` Jan Beulich
2007-03-16 8:21 ` Keir Fraser
2007-03-23 1:56 ` question about machine-to-physic table and phy-to-machine table tgh
2007-03-23 11:44 ` Daniel Stodden
2007-03-26 1:39 ` tgh [this message]
2007-03-27 4:14 ` Mark Williamson
2007-03-27 6:14 ` tgh
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=4607246C.1060709@ncic.ac.cn \
--to=tianguanhua@ncic.ac.cn \
--cc=stodden@cs.tum.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.