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

[Xen-devel] How the domain gives its memory back when destroyed?


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Kai Luo <luokain@xxxxxxxxx>
  • Date: Sat, 2 Mar 2013 00:04:36 +0800
  • Delivery-date: Sat, 02 Mar 2013 09:10:47 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hi:

   Recently I'm reading the code that will be used when a hvm domain is destroyed,including some importent methods such as domain_kill(),domain_relinguish_resource(),domain_destroy() and so on.
    Theoretically,there must be some methods that calls free_domheap_pages() and relinquish the domain's memory,however, I can't find the corresponding codes that do this job.relinquish_memory()  has something to do with this but not enouth,after this the memory is still held by the dead domain.
    I have read the source tree over and over,finding no clue.That's so frustrating.Can you give me some sugguestion?Thank you very much!

Jeap

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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