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

[Xen-changelog] [xen-unstable] [IA64] Fix populate-on-demand stub.



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1233540696 -32400
# Node ID 46b4096813dca3c707a60148f560aba31f521c56
# Parent  c8962b24fb5091c95e32bdd9a25b1a67f33cedca
[IA64] Fix populate-on-demand stub.

A return value of 1 is meant to inform decrease_reservation() that
everything has been taken care of by the PoD code and it doesn't need
to call guest_remove_page().

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/mm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r c8962b24fb50 -r 46b4096813dc xen/arch/ia64/xen/mm.c
--- a/xen/arch/ia64/xen/mm.c    Fri Jan 30 11:12:57 2009 +0900
+++ b/xen/arch/ia64/xen/mm.c    Mon Feb 02 11:11:36 2009 +0900
@@ -3484,7 +3484,7 @@ p2m_pod_decrease_reservation(struct doma
                              unsigned int order)
 {
     gdprintk(XENLOG_WARNING, "populate on demand isn't supported yet\n");
-    return 1;
+    return 0;
 }
 
 /*

_______________________________________________
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®.