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

[Xen-changelog] [IA64] #if 0'd useless code in timer handled.



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID ede16886f979dde3991f2a13c7eef71820a60cca
# Parent  c668c6abb5f0dc4d8cc81dbbcd4e96bb786b0f12
[IA64] #if 0'd useless code in timer handled.

Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx>

diff -r c668c6abb5f0 -r ede16886f979 xen/arch/ia64/xen/xentime.c
--- a/xen/arch/ia64/xen/xentime.c       Mon Mar  6 16:06:55 2006
+++ b/xen/arch/ia64/xen/xentime.c       Mon Mar  6 16:09:18 2006
@@ -116,6 +116,12 @@
        }
 #endif
 #endif
+
+#if 0
+       /* Nobody seems to be able to explain this code.
+          It seems to be accumulated tricks, which are not required anymore.
+          Also I have made many tests, I'd like to get confirmation from
+          other site (TG).  */
        if (current->domain == dom0) {
                // FIXME: there's gotta be a better way of doing this...
                // We have to ensure that domain0 is launched before we
@@ -130,6 +136,7 @@
                        vcpu_wake(dom0->vcpu[0]);
                }
        }
+#endif
        if (!is_idle_domain(current->domain))  {
                if (vcpu_timer_expired(current)) {
                        vcpu_pend_timer(current);

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