git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nohz: Fix nohz ratelimit
[pandora-kernel.git]
/
kernel
/
time
/
tick-sched.c
diff --git
a/kernel/time/tick-sched.c
b/kernel/time/tick-sched.c
index
1d7b9bc
..
783fbad
100644
(file)
--- a/
kernel/time/tick-sched.c
+++ b/
kernel/time/tick-sched.c
@@
-315,9
+315,6
@@
void tick_nohz_stop_sched_tick(int inidle)
goto end;
}
goto end;
}
- if (nohz_ratelimit(cpu))
- goto end;
-
ts->idle_calls++;
/* Read jiffies and the time when jiffies were updated last */
do {
ts->idle_calls++;
/* Read jiffies and the time when jiffies were updated last */
do {
@@
-328,7
+325,7
@@
void tick_nohz_stop_sched_tick(int inidle)
} while (read_seqretry(&xtime_lock, seq));
if (rcu_needs_cpu(cpu) || printk_needs_cpu(cpu) ||
} while (read_seqretry(&xtime_lock, seq));
if (rcu_needs_cpu(cpu) || printk_needs_cpu(cpu) ||
- arch_needs_cpu(cpu)) {
+ arch_needs_cpu(cpu)
|| nohz_ratelimit(cpu)
) {
next_jiffies = last_jiffies + 1;
delta_jiffies = 1;
} else {
next_jiffies = last_jiffies + 1;
delta_jiffies = 1;
} else {