On 07/10/2010 04:11 PM, Gu, Zhongshu wrote:
Thank you for your answer. There is another thing that i am not sure. Is there any mechanism in the kvm to make sure that it will zap the mmu root's pages if the process that use this root has terminated in the guest? Or does it just use kvm_mmu_free_some_pages to make sure that the number of free mmu pages is above the specified limit?
The root will not be zapped on process termination (kvm is not aware of guest processes). However, if the page is written to several times without being used, kvm will unshadow the page.
-- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html