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] cleanup after merge

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] cleanup after merge
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 12 Apr 2005 10:16:00 +0000
Delivery-date: Wed, 13 Apr 2005 23:03:08 +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 Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1289, 2005/04/12 11:16:00+01:00, mafetter@xxxxxxxxxxxxxxxx

        cleanup after merge



 linux-2.6.11-xen-sparse/arch/xen/configs/xen0_defconfig_x86_32 |    1 
 linux-2.6.11-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 |    2 -
 xen/include/asm-x86/shadow.h                                   |   11 
----------
 3 files changed, 3 insertions(+), 11 deletions(-)


diff -Nru a/linux-2.6.11-xen-sparse/arch/xen/configs/xen0_defconfig_x86_32 
b/linux-2.6.11-xen-sparse/arch/xen/configs/xen0_defconfig_x86_32
--- a/linux-2.6.11-xen-sparse/arch/xen/configs/xen0_defconfig_x86_32    
2005-04-13 19:03:21 -04:00
+++ b/linux-2.6.11-xen-sparse/arch/xen/configs/xen0_defconfig_x86_32    
2005-04-13 19:03:21 -04:00
@@ -20,6 +20,7 @@
 CONFIG_XEN_NETDEV_FRONTEND=y
 # CONFIG_XEN_NETDEV_FRONTEND_PIPELINED_TRANSMITTER is not set
 # CONFIG_XEN_BLKDEV_TAP is not set
+# CONFIG_XEN_SHADOW_MODE is not set
 CONFIG_XEN_SCRUB_PAGES=y
 CONFIG_XEN_X86=y
 # CONFIG_XEN_X86_64 is not set
diff -Nru a/linux-2.6.11-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 
b/linux-2.6.11-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32
--- a/linux-2.6.11-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32    
2005-04-13 19:03:21 -04:00
+++ b/linux-2.6.11-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32    
2005-04-13 19:03:21 -04:00
@@ -17,7 +17,7 @@
 CONFIG_XEN_NETDEV_FRONTEND=y
 # CONFIG_XEN_NETDEV_FRONTEND_PIPELINED_TRANSMITTER is not set
 # CONFIG_XEN_BLKDEV_TAP is not set
-CONFIG_XEN_SHADOW_MODE=y
+# CONFIG_XEN_SHADOW_MODE is not set
 CONFIG_XEN_SCRUB_PAGES=y
 CONFIG_XEN_X86=y
 # CONFIG_XEN_X86_64 is not set
diff -Nru a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h
--- a/xen/include/asm-x86/shadow.h      2005-04-13 19:03:21 -04:00
+++ b/xen/include/asm-x86/shadow.h      2005-04-13 19:03:21 -04:00
@@ -398,28 +398,19 @@
            page->count_info, page->u.inuse.type_info);
 }
 
+/* XXX Needs more thought. Neither pretty nor fast: a place holder. */
 static inline void shadow_sync_and_drop_references(
     struct domain *d, struct pfn_info *page)
 {
     if ( likely(!shadow_mode_enabled(d)) )
         return;
 
-    /* XXX Needs more thought. Neither pretty nor fast: a place holder. */
     shadow_lock(d);
 
     if ( page_out_of_sync(page) )
         __shadow_sync_mfn(d, page_to_pfn(page));
 
     shadow_remove_all_access(d, page_to_pfn(page));
-
-    if ( page->count_info != 1 )
-    {
-        printk("free_dom_mem in shadow mode didn't release page "
-               "mfn=%p c=%p\n", page_to_pfn(page), page->count_info);
-        shadow_unlock(d);
-        audit_domain(d);
-        BUG();
-    }
 
     shadow_unlock(d);
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>