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

RE: [Xen-ia64-devel] [PATCH] Fix that guest can not get continuous memory for vhpt



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


 


Rackspace

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