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

[Xen-changelog] [xen-unstable] [IA64] Bugzilla 942 Fix (timer strangeness on restored PV domain)



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1176353170 21600
# Node ID e4bd31a66a2e2bc70faa3851cb8706d791b38f99
# Parent  3d356a2b1c75c2fea9b8eb0643075614e9e3d4fe
[IA64] Bugzilla 942 Fix (timer strangeness on restored PV domain)

Time interpolator remembers last status.  When domain is restored, it
should be forgotten. Otherwise the interpolator causes bad timer value.

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 3d356a2b1c75 -r e4bd31a66a2e 
linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c
--- a/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c   Wed Apr 11 07:30:02 
2007 -0600
+++ b/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c   Wed Apr 11 22:46:10 
2007 -0600
@@ -852,6 +852,9 @@ time_resume(void)
 
        /* Just trigger a tick.  */
        ia64_cpu_local_tick();
+
+       /* Time interpolator remembers the last timer status.  Forget it */
+       time_interpolator_reset();
 }
 
 ///////////////////////////////////////////////////////////////////////////

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