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] x86_64, vt-d: Do not include pages 'in xe

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86_64, vt-d: Do not include pages 'in xen range' which may be freed
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Jan 2009 04:40:09 -0800
Delivery-date: Sat, 24 Jan 2009 04:39:49 -0800
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1232789086 0
# Node ID f0b46b3a9efd7a834febff892d5c42301da7fc78
# Parent  25780232795883ad4ebcb4892962dca56da56dfb
x86_64, vt-d: Do not include pages 'in xen range' which may be freed
to domain heap.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/setup.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 257802327958 -r f0b46b3a9efd xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      Fri Jan 23 16:50:09 2009 +0000
+++ b/xen/arch/x86/setup.c      Sat Jan 24 09:24:46 2009 +0000
@@ -1108,8 +1108,8 @@ int xen_in_range(paddr_t start, paddr_t 
     paddr_t xs = 0;
     paddr_t xe = xenheap_phys_end;
 #else
-    paddr_t xs = __pa(&_start);
-    paddr_t xe = __pa(&_end);
+    paddr_t xs = __pa(&_stext);
+    paddr_t xe = __pa(&_etext);
 #endif
 
     return (start < xe) && (end > xs);

_______________________________________________
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] x86_64, vt-d: Do not include pages 'in xen range' which may be freed, Xen patchbot-unstable <=