Skip to contentSkip to conversation

timer-op: demote a debugging message to really be debugging only

PATCH In review Jan Beulich 3 participants 3 messages Oct 30, 2015 – Nov 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 timer-op: demote a debugging message to really be debugging only

The issue the message points out may have been of relevance during the early days, but shouldn't anymore.

xen/common/schedule.c +2 -2
@@ -1118,8 +1118,8 @@ long do_set_timer_op(s_time_t timeout)
          * timeout in this case can burn a lot of CPU. We therefore go for a
          * reasonable middleground of triggering a timer event in 100ms.
          */
-        gprintk(XENLOG_INFO, "Warning: huge timeout set: %"PRIx64"\n",
-                (uint64_t)timeout);
+        gdprintk(XENLOG_INFO, "Warning: huge timeout set: %"PRIx64"\n",
+                 timeout);
         set_timer(&v->singleshot_timer, NOW() + MILLISECS(100));
     }
     else

timer-op: demote a debugging message to really be debugging only

The issue the message points out may have been of relevance during the early days, but shouldn't anymore.

xen/common/schedule.c +2 -2
@@ -1118,8 +1118,8 @@ long do_set_timer_op(s_time_t timeout)
          * timeout in this case can burn a lot of CPU. We therefore go for a
          * reasonable middleground of triggering a timer event in 100ms.
          */
-        gprintk(XENLOG_INFO, "Warning: huge timeout set: %"PRIx64"\n",
-                (uint64_t)timeout);
+        gdprintk(XENLOG_INFO, "Warning: huge timeout set: %"PRIx64"\n",
+                 timeout);
         set_timer(&v->singleshot_timer, NOW() + MILLISECS(100));
     }
     else

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel