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

Re: [Xen-ia64-devel] [Q] about assign_domain_page_replace



On Wed, Jun 06, 2007 at 03:16:25PM +0900, Akio Takebe wrote:

> >"mfn != old_mfn" itself isn't a bug of Xen VMM.
> >It should be okay from the hypervisor point of view.
> >In both case (== and !=), Xen VMM should continue to work finely.
> >domain_put_page() makes mfn_to_page(old_mfn)->count_info = 0 and
> >frees the page.
> No, get_page() is not called for the page.
> So, after domain_put_page(), the page->count_info=-1.

You meant page->count_info == 0 before calling domain_put_page().
Let me confirm the followings
- Is the page owner is NULL?
- Does dom0 call __dom0vp_add_physmap()?
- The page doesn't belong to dom0. But the page is assigned to 
  another non-dom0 domain's pseudo physical address.
  When the domain is destroyed, Xen panics. Is this right?

domain_page_flush_and_put() isn't aware of NULL-owner pages, I'll fix it.
However more issues seem to be there.

thanks,
-- 
yamahata

_______________________________________________
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®.