From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?gb2312?B?wfW6o8Ck?=" Subject: how can I find out the free pages in a guest OS? Date: Thu, 16 Jul 2009 17:38:13 +0800 Message-ID: <200907161738131099364@163.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1144482529==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============1144482529== Content-Type: multipart/alternative; boundary="=====003_Dragon168512342806_=====" This is a multi-part message in MIME format. --=====003_Dragon168512342806_===== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Hi, all I want to reduce the checkpoint size of a VM by memory exclusion. I try to find out all the free pages by reference count at VMM-level, As they declared that: /* Page is on a free list: ((count_info & PGC_count_mask) == 0). */ , in struct page_info which is defined in /xen/include/asm-x86/mm.h, but unfortunately, all the pages in a idle VM accords with this condition. I prints out the reference count of all memory pages, all of them are equal to or bigger than 2. Anyone can tell me the reason? and how can I find out the free pages in a guest OS? Best regards haikun liu 2009-07-16 --=====003_Dragon168512342806_===== Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 7bit
Hi, all
        I want to reduce the checkpoint size of a VM by memory exclusion. I try to find out all the free pages by reference count at VMM-level, As they declared that:
         /* Page is on a free list: ((count_info & PGC_count_mask) == 0). */ , in struct page_info which is defined in /xen/include/asm-x86/mm.h, but  unfortunately, all the pages in a idle VM accords with this condition. I  prints out  the reference count of all memory pages, all of them are  equal to or bigger than 2. Anyone can tell me the reason? and how can I find out the free pages in a guest OS?
 
 
Best regards

haikun liu
2009-07-16
 
--=====003_Dragon168512342806_=====-- --===============1144482529== 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 --===============1144482529==--