From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Lalancette Subject: [PATCH]: Add "Warning" to the time went backwards messages Date: Mon, 10 Mar 2008 10:44:07 -0400 Message-ID: <47D54937.90304@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010909040100020208070000" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Prarit Bhargava List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------010909040100020208070000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit All, Attached is a patch from Prarit Bhargava, who is not subscribed to the list (but CC'ed). His description follows: Add "Warning" to the "Time went backwards" message. Most QA groups (if not all) grep for specific messages in the syslog such as "Error", "Warning", "Oops". Time went backwards is a key error which can result in system instability. Signed-off-by: Prarit Bhargava --------------010909040100020208070000 Content-Type: text/x-patch; name="436755.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="436755.patch" Add "Warning" to the "Time went backwards" message. Most QA groups (if not all) grep for specific messages in the syslog such as "Error", "Warning", "Oops". Time went backwards is a key error which can result in system instability. Signed-off-by: Prarit Bhargava diff --git a/arch/i386/kernel/time-xen.c b/arch/i386/kernel/time-xen.c index 532ad14..d4c8dfc 100644 --- a/arch/i386/kernel/time-xen.c +++ b/arch/i386/kernel/time-xen.c @@ -665,8 +665,8 @@ irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) if ((unlikely(delta < -(s64)permitted_clock_jitter) || unlikely(delta_cpu < -(s64)permitted_clock_jitter)) && printk_ratelimit()) { - printk("Timer ISR/%d: Time went backwards: " - "delta=%lld delta_cpu=%lld shadow=%lld " + printk(KERN_WARNING "Warning Timer ISR/%d: Time went " + "backwards: delta=%lld delta_cpu=%lld shadow=%lld " "off=%lld processed=%lld cpu_processed=%lld\n", cpu, delta, delta_cpu, shadow->system_timestamp, (s64)get_nsec_offset(shadow), --------------010909040100020208070000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------010909040100020208070000--