WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Check correct flag in grant transfer - this eliminates t

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Check correct flag in grant transfer - this eliminates the most common
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 05 Nov 2005 15:52:06 +0000
Delivery-date: Sat, 05 Nov 2005 16:11:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Check correct flag in grant transfer - this eliminates the most common, Xen patchbot -unstable <=