[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] how can I find out the free pages in a guest OS?



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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.