Isaku Yamahata wrote:
> So you want to account vhpt memory.
> Then, pass the domain pointer as argument to alloc_domheap_page(d,
> ...) and leave the hunk in image.py.
> Maybe the code path which frees domain memory needs twist.

it doesn't pass the domain pointer as argument. There are separate function 
free_domain_vhpt() and free_domain_vtlb to frees the memory which is used as 
vhpt.
but i also free the saved memory which may not used by vhpt(sometimes this will 
be true) 
in vmx_relinquish_guest_resources().
 
> The patch complicates the interface, thash_alloc().
> That makes it ugly and difficult to understand.
> Instead, introduce clean interface suitable for the purpose.

Ok, i will try to do it.

Best Regards
--yang
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

Reply via email to