[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEN][POWERPC] Remove pfn2mfn() now that it is understood
# HG changeset patch # User Jimi Xenidis <jimix@xxxxxxxxxxxxxx> # Node ID 96670c42df394193af6ee167e3f2e1a36de15b91 # Parent 79bb96e0ba73754aecbbdd37d1d69342af2730ee [XEN][POWERPC] Remove pfn2mfn() now that it is understood It is possible (thank you xm-test) to initiate a grant copy to a page belonging to a dying domain, the page end up being owned by nobody which is what the original test asserted. Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx> Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx> --- xen/arch/powerpc/mm.c | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletion(-) diff -r 79bb96e0ba73 -r 96670c42df39 xen/arch/powerpc/mm.c --- a/xen/arch/powerpc/mm.c Sun Oct 08 11:34:24 2006 -0400 +++ b/xen/arch/powerpc/mm.c Tue Oct 10 09:09:38 2006 -0400 @@ -412,7 +412,18 @@ ulong pfn2mfn(struct domain *d, ulong pf } } } - BUG_ON(t != PFN_TYPE_NONE && page_get_owner(mfn_to_page(mfn)) != d); +#ifdef DEBUG + if (t != PFN_TYPE_NONE && + (d->domain_flags & DOMF_dying) && + page_get_owner(mfn_to_page(mfn)) != d) { + printk("%s: page type: %d owner Dom[%d]:%p expected Dom[%d]:%p\n", + __func__, t, + page_get_owner(mfn_to_page(mfn))->domain_id, + page_get_owner(mfn_to_page(mfn)), + d->domain_id, d); + BUG(); + } +#endif } if (t == PFN_TYPE_NONE) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |