[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Check correct flag in grant transfer - this eliminates the most common
# HG changeset patch # User smh22@xxxxxxxxxxxxxxxxxxxx # Node ID a45408260abb3adb6585036e3db05281752bb2dd # Parent a969d918674e6deab2a8c61977e4a4016a680ca7 Check correct flag in grant transfer - this eliminates the most common source of 'zombie-' domains. Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx> diff -r a969d918674e -r a45408260abb xen/common/grant_table.c --- a/xen/common/grant_table.c Fri Nov 4 15:01:49 2005 +++ b/xen/common/grant_table.c Sat Nov 5 09:54:12 2005 @@ -781,7 +781,7 @@ * headroom. Also, a domain mustn't have PGC_allocated * pages when it is dying. */ - if ( unlikely(test_bit(DOMFLAGS_DYING, &e->domain_flags)) || + if ( unlikely(test_bit(_DOMF_dying, &e->domain_flags)) || unlikely(e->tot_pages >= e->max_pages) || unlikely(!gnttab_prepare_for_transfer(e, d, gop->ref)) ) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |