diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-03 18:16:38 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-02-13 22:20:39 (GMT) |
commit | c63d9c27c282777f892d282b3b0819ce58854f90 (patch) | |
tree | b89a49c689656f0d4a1894ac63bc1d2ee5cd1450 /kernel/time | |
parent | 1c9e58fad223741faa7dd6ceaaaf0b711ce07f96 (diff) | |
download | linux-fsl-qoriq-c63d9c27c282777f892d282b3b0819ce58854f90.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.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 0619d3d..fa4c28b 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; } |