[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/4] xen/arm: create_p2m_entries should not call free_domheap_page
On Thu, 12 Jul 2012, Tim Deegan wrote: > At 12:05 +0100 on 04 Jul (1341403533), Stefano Stabellini wrote: > > The guest is entitled to use valid memory pages as pfns for grant_table > > usage. > > > > In these cases we shouldn't call free_domheap_page to free the existing > > page from create_p2m_entries, because it resets the reference counting > > but the page is still allocated to the guest (even if not in the p2m > > anymore) and common grant_table code is also going to call put_page on > > it. > > Does this break other users? I don't think so, unless we start calling map_mmio_regions passing valid memory addresses in construct_dom0. > I guess this answers my earlier question > about needing refcounts, anyway -- we'll need to use them everywhere > to keep the grant-table code consistent. Yeah _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |