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
> 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 
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
Xen-ia64-devel mailing list

Reply via email to