diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-26 10:26:53 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-26 10:26:53 -0400 |
| commit | 19b4a8d520a6e0176dd52aaa429261ad4fcaa545 (patch) | |
| tree | 6dcf5a780718fc50b9cd79cc803daa7c7e080a02 /kernel/time | |
| parent | 3cfef9524677a4ecb392d6fbffe6ebce6302f1d4 (diff) | |
| parent | 048b718029033af117870d3da47da12995be14a3 (diff) | |
Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
* 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (45 commits)
rcu: Move propagation of ->completed from rcu_start_gp() to rcu_report_qs_rsp()
rcu: Remove rcu_needs_cpu_flush() to avoid false quiescent states
rcu: Wire up RCU_BOOST_PRIO for rcutree
rcu: Make rcu_torture_boost() exit loops at end of test
rcu: Make rcu_torture_fqs() exit loops at end of test
rcu: Permit rt_mutex_unlock() with irqs disabled
rcu: Avoid having just-onlined CPU resched itself when RCU is idle
rcu: Suppress NMI backtraces when stall ends before dump
rcu: Prohibit grace periods during early boot
rcu: Simplify unboosting checks
rcu: Prevent early boot set_need_resched() from __rcu_pending()
rcu: Dump local stack if cannot dump all CPUs' stacks
rcu: Move __rcu_read_unlock()'s barrier() within if-statement
rcu: Improve rcu_assign_pointer() and RCU_INIT_POINTER() documentation
rcu: Make rcu_assign_pointer() unconditionally insert a memory barrier
rcu: Make rcu_implicit_dynticks_qs() locals be correct size
rcu: Eliminate in_irq() checks in rcu_enter_nohz()
nohz: Remove nohz_cpu_mask
rcu: Document interpretation of RCU-lockdep splats
rcu: Allow rcutorture's stat_interval parameter to be changed at runtime
...
Diffstat (limited to 'kernel/time')
| -rw-r--r-- | kernel/time/tick-sched.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index d5097c44b407..eb98e55196b9 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
| @@ -139,7 +139,6 @@ static void tick_nohz_update_jiffies(ktime_t now) | |||
| 139 | struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu); | 139 | struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu); |
| 140 | unsigned long flags; | 140 | unsigned long flags; |
| 141 | 141 | ||
| 142 | cpumask_clear_cpu(cpu, nohz_cpu_mask); | ||
| 143 | ts->idle_waketime = now; | 142 | ts->idle_waketime = now; |
| 144 | 143 | ||
| 145 | local_irq_save(flags); | 144 | local_irq_save(flags); |
| @@ -389,9 +388,6 @@ void tick_nohz_stop_sched_tick(int inidle) | |||
| 389 | else | 388 | else |
| 390 | expires.tv64 = KTIME_MAX; | 389 | expires.tv64 = KTIME_MAX; |
| 391 | 390 | ||
| 392 | if (delta_jiffies > 1) | ||
| 393 | cpumask_set_cpu(cpu, nohz_cpu_mask); | ||
| 394 | |||
| 395 | /* Skip reprogram of event if its not changed */ | 391 | /* Skip reprogram of event if its not changed */ |
| 396 | if (ts->tick_stopped && ktime_equal(expires, dev->next_event)) | 392 | if (ts->tick_stopped && ktime_equal(expires, dev->next_event)) |
| 397 | goto out; | 393 | goto out; |
| @@ -441,7 +437,6 @@ void tick_nohz_stop_sched_tick(int inidle) | |||
| 441 | * softirq. | 437 | * softirq. |
| 442 | */ | 438 | */ |
| 443 | tick_do_update_jiffies64(ktime_get()); | 439 | tick_do_update_jiffies64(ktime_get()); |
| 444 | cpumask_clear_cpu(cpu, nohz_cpu_mask); | ||
| 445 | } | 440 | } |
| 446 | raise_softirq_irqoff(TIMER_SOFTIRQ); | 441 | raise_softirq_irqoff(TIMER_SOFTIRQ); |
| 447 | out: | 442 | out: |
| @@ -524,7 +519,6 @@ void tick_nohz_restart_sched_tick(void) | |||
| 524 | /* Update jiffies first */ | 519 | /* Update jiffies first */ |
| 525 | select_nohz_load_balancer(0); | 520 | select_nohz_load_balancer(0); |
| 526 | tick_do_update_jiffies64(now); | 521 | tick_do_update_jiffies64(now); |
| 527 | cpumask_clear_cpu(cpu, nohz_cpu_mask); | ||
| 528 | 522 | ||
| 529 | #ifndef CONFIG_VIRT_CPU_ACCOUNTING | 523 | #ifndef CONFIG_VIRT_CPU_ACCOUNTING |
| 530 | /* | 524 | /* |
