[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] fix XENMEM_add_to_physmap with XENMAPSPACE_mfn.



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.