summaryrefslogtreecommitdiff
path: root/kernel/time
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-03 18:16:38 (GMT)
committerScott Wood <scottwood@freescale.com>2014-05-14 18:38:20 (GMT)
commit4f51a9576fee9e91bc856c78c9eb38b6b346ab48 (patch)
tree58ff5810409dd26fc567df65abae9cf4e5331f49 /kernel/time
parent1d3d7acedee5f1d2bef3a60eb3358c93a7c207d6 (diff)
downloadlinux-fsl-qoriq-4f51a9576fee9e91bc856c78c9eb38b6b346ab48.tar.xz
softirq: Sanitize softirq pending for NOHZ/RT
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/tick-sched.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 6c77b2d..1f4299b 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -724,14 +724,7 @@ static bool can_stop_idle_tick(int cpu, struct tick_sched *ts)
return false;
if (unlikely(local_softirq_pending() && cpu_online(cpu))) {
- static int ratelimit;
-
- if (ratelimit < 10 &&
- (local_softirq_pending() & SOFTIRQ_STOP_IDLE_MASK)) {
- pr_warn("NOHZ: local_softirq_pending %02x\n",
- (unsigned int) local_softirq_pending());
- ratelimit++;
- }
+ softirq_check_pending_idle();
return false;
}