Skip to contentSkip to conversation

how can I find out the free pages in a guest OS?

DISCUSSION 刘海坤 1 participant 1 message Jul 16, 2009

lore
Share & tools
lore

刘海坤

author
#0 lore raw

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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel