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] fix XENMEM_add_to_physmap with XEN

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] fix XENMEM_add_to_physmap with XENMAPSPACE_mfn.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 01 Dec 2008 03:50:33 -0800
Delivery-date: Mon, 01 Dec 2008 03:52:14 -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 Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1225245743 -32400
# Node ID a6b1be5a83de0deba232673724a63cef96efc89f
# Parent  ba163d6dc98618bdddfcb2a9507e1ae9b13fe754
[IA64] fix XENMEM_add_to_physmap with XENMAPSPACE_mfn.

page reference count was leaked so that hvm domain wasn't freed.
This patch fixes it.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/mm.c |    1 -
 1 files changed, 1 deletion(-)

diff -r ba163d6dc986 -r a6b1be5a83de xen/arch/ia64/xen/mm.c
--- a/xen/arch/ia64/xen/mm.c    Tue Oct 28 14:31:58 2008 +0900
+++ b/xen/arch/ia64/xen/mm.c    Wed Oct 29 11:02:23 2008 +0900
@@ -3365,7 +3365,6 @@ arch_memory_op(int op, XEN_GUEST_HANDLE(
         /* Map at new location. */
         /* Here page->count_info = PGC_allocated | N where N >= 1*/
         __guest_physmap_add_page(d, xatp.gpfn, mfn);
-        page = NULL; /* prevent put_page() */
 
     out:
         domain_unlock(d);

_______________________________________________
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] fix XENMEM_add_to_physmap with XENMAPSPACE_mfn., Xen patchbot-unstable <=