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] [xen-unstable] [IA64] memory exchange: ia64 counter part

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] memory exchange: ia64 counter part of cs 10353 xen-unstable.hg
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 03 Jul 2006 10:20:35 +0000
Delivery-date: Mon, 03 Jul 2006 03:27:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 awilliam@xxxxxxxxxxx
# Node ID d107bfd5a4ae8c2fb49eb6fb4ce6f37660e22bfb
# Parent  cf4a70ab3f59b3199ddc58f80cc0ec9d11d5b5ea
[IA64] memory exchange: ia64 counter part of cs 10353 xen-unstable.hg

IA64 counter part of the change set
10353:bd1a0b2bb2d4596227951ad6d36cb4fcc2d00a8e of xen-unstable.hg
Only destroy a machine-contiguous memory region if it really is contiguous.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r cf4a70ab3f59 -r d107bfd5a4ae 
linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c
--- a/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c   Fri Jun 23 10:04:12 
2006 -0600
+++ b/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c   Fri Jun 23 15:12:10 
2006 -0600
@@ -275,6 +275,9 @@ __xen_destroy_contiguous_region(unsigned
        struct xen_memory_reservation reservation;
        unsigned long i;
 
+       if (!test_bit(start_gpfn, contiguous_bitmap))
+               return;
+
        gpfns = kmalloc(sizeof(gpfns[0]) * num_gpfn,
                        GFP_KERNEL | __GFP_NOFAIL);
        for (i = 0; i < num_gpfn; i++) {

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] memory exchange: ia64 counter part of cs 10353 xen-unstable.hg, Xen patchbot-unstable <=