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-04-10 00:19:20 (GMT)
commit0be6e65c2f57d62663e4df7a516686aa421f5f89 (patch)
tree21677e109101d7beb90573dfc397e3dbb20c6217 /kernel/time
parent086eb6f6bfee117803e858278dec495424bcefc1 (diff)
downloadlinux-fsl-qoriq-0be6e65c2f57d62663e4df7a516686aa421f5f89.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;
}