From: 刘海坤 <lhk518@163.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: how can I find out the free pages in a guest OS?
Date: Thu, 16 Jul 2009 17:38:13 +0800 [thread overview]
Message-ID: <200907161738131099364@163.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 621 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1938 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2009-07-16 9:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200907161738131099364@163.com \
--to=lhk518@163.com \
--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.