From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Haifeng Fang" Subject: how to get the information about "Frame Table"? Date: Fri, 25 Apr 2008 09:22:32 +0800 Message-ID: <200804250922319061059@126.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0756869917==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0756869917== Content-Type: multipart/alternative; boundary="=====003_Dragon021588415870_=====" This is a multi-part message in MIME format. --=====003_Dragon021588415870_===== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit hi, all: Now, i want to get the information of configuration of physcial memory within the whole physical node. by refering to some open literature, i focus on some data-structures as follows: Frame Table, namely, "struct page_info * frame_table"; Machine-to-physical translation table (M2P), which i have not found the definitive structure of it. my questions is whether the frame_table and M2P table covers all the physical memory (RAM) or not. in addition, i have found a interface to userspace application running in domain0. the interface is: XEN_DOMCTLl_getpageframeinfo, and XEN_DOMCTL_getpageframeinfo2 and my question is whether i can get the information of configuration of physcial memory within the whole physical node, or only get the information within a specific domain. furthermore, maybe i can only get the information of inuse page of frame_table, is right? if anyone can help me, thanks in advance. 2008-04-25 Haifeng Fang --=====003_Dragon021588415870_===== Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 7bit
hi, all:
 
Now, i want to get the information of configuration of physcial memory within the whole physical node.
by refering to some open literature, i focus on some data-structures as follows:
  • Frame Table, namely, "struct page_info * frame_table";
  • Machine-to-physical translation table (M2P), which i have not found the definitive structure of it.
 
my questions is whether the frame_table and M2P table covers all the physical memory (RAM) or not.
 
in addition, i have found a interface to userspace application running in domain0. the interface is:
XEN_DOMCTLl_getpageframeinfo, and XEN_DOMCTL_getpageframeinfo2
 
and my question is whether i can get the information of configuration of physcial memory within the whole physical node, or only get the information within a specific domain. furthermore, maybe i can only get the information of inuse page of frame_table, is right?
 
if anyone can help me, thanks in advance.
 
 
2008-04-25

Haifeng Fang
--=====003_Dragon021588415870_=====-- --===============0756869917== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0756869917==--