mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -rt] softirq: fix undefined rate_limit in softirq_check_pending_idle
@ 2009-06-26  7:46 Wu Zhangjin
  2009-06-26  7:47 ` [PATCH -rt] hwlat_detector: add dependence of RING_BUFFER Wu Zhangjin
  0 siblings, 1 reply; 2+ messages in thread
From: Wu Zhangjin @ 2009-06-26  7:46 UTC (permalink / raw)
  To: LKML; +Cc: Wu Zhangjin, Thomas Gleixner, Ingo Molnar

From: Wu Zhangjin <wuzj@lemote.com>

on !PREEMPT_RT, there is a defined ratelimit in
softirq_check_pending_idel(), but used as rate_limit, so, defining
rate_limit instead of ratelimit will fix it.

Signed-off-by: Wu Zhangjin <wuzj@lemote.com>
---
 kernel/softirq.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/softirq.c b/kernel/softirq.c
index 00b4638..38b44c9 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -155,9 +155,9 @@ void softirq_check_pending_idle(void)
  */
 void softirq_check_pending_idle(void)
 {
-	static int ratelimit;
+	static int rate_limit;
 
-	if (ratelimit < 10) {
+	if (rate_limit < 10) {
 		printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
 		       local_softirq_pending());
 		rate_limit++;
-- 
1.6.0.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-26  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-26  7:46 [PATCH -rt] softirq: fix undefined rate_limit in softirq_check_pending_idle Wu Zhangjin
2009-06-26  7:47 ` [PATCH -rt] hwlat_detector: add dependence of RING_BUFFER Wu Zhangjin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®