login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
May
»
21
Re: [patch 43/69] i386: HPET, check if the counter works
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [patch 43/69] i386: HPET, check if the counter works
Date: Monday, May 21, 2007 - 2:57 pm
On Mon, 21 May 2007 21:58:55 +0200 Thomas Gleixner <tglx@linutronix.de> wrote:
quoted text
> The warning in the NOHZ code, which triggers when a CPU goes idle with > softirqs pending can fill up the logs quite quickly. Rate limit the > output until we found the root cause of that problem. > > Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > > Index: linux-2.6.21/kernel/time/tick-sched.c > =================================================================== > --- linux-2.6.21.orig/kernel/time/tick-sched.c > +++ linux-2.6.21/kernel/time/tick-sched.c > @@ -167,9 +167,15 @@ void tick_nohz_stop_sched_tick(void) > goto end; > > cpu = smp_processor_id(); > - if (unlikely(local_softirq_pending())) > - printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n", > - local_softirq_pending()); > + if (unlikely(local_softirq_pending())) { > + static int ratelimit; > + > + if (ratelimit < 10) { > + printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n", > + local_softirq_pending()); > + ratelimit++; > + } > + }
that's not a "rate" limit. I resist the temptation to rename it to "limit" to keep mainline and -stable in sync, and coz it's temporary (we hope). -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 43/69] i386: HPET, check if the counter works
, Chris Wright
, (Mon May 21, 12:16 pm)
Re: [patch 43/69] i386: HPET, check if the counter works
, Thomas Gleixner
, (Mon May 21, 12:58 pm)
Re: [patch 43/69] i386: HPET, check if the counter works
, Thomas Gleixner
, (Mon May 21, 1:25 pm)
Re: [patch 43/69] i386: HPET, check if the counter works
, Chris Wright
, (Mon May 21, 1:33 pm)
Re: [patch 43/69] i386: HPET, check if the counter works
, Thomas Gleixner
, (Mon May 21, 1:36 pm)
Re: [patch 43/69] i386: HPET, check if the counter works
, Andrew Morton
, (Mon May 21, 2:57 pm)
Re: [patch 43/69] i386: HPET, check if the counter works
, Thomas Gleixner
, (Mon May 21, 3:12 pm)
Re: [patch 43/69] i386: HPET, check if the counter works
, dean gaudet
, (Tue Jun 5, 9:52 am)
Re: [patch 43/69] i386: HPET, check if the counter works
, dean gaudet
, (Tue Jun 5, 9:56 am)
Re: [patch 43/69] i386: HPET, check if the counter works
, Linus Torvalds
, (Tue Jun 5, 9:58 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Paul E. McKenney
Rafael J. Wysocki
[Bug #11287] Regression in 2.6.27-rc2 in acpi_processor_init()
Ingo Molnar
Re: [GIT PULL] time.c - respin
Robin Holt
Re: Linux 2.6.26-rc1
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Junio C Hamano
Re: git-svnimport
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Nicolas Pitre
[PATCH] diff: don't presume empty file when corresponding object is missing
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Mike Frysinger
Re: bridge netpoll support: mismatch between net core and bridge headers
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Guido Tschakert
Re: what exactly is enc0?
Colocation donated by:
Syndicate