Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158151
b: refs/heads/master
c: 8064d54
h: refs/heads/master
i:
  158149: 9986e31
  158147: a6f2dba
  158143: 9c145e6
v: v3
  • Loading branch information
Paul E. McKenney authored and Ingo Molnar committed Aug 15, 2009
1 parent 13f6e11 commit 24dae12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2e597558086dec36d5c33521a36e0f6b1bc3f3a7
refs/heads/master: 8064d54929f23613e649dc7e14f7a94454487d58
8 changes: 1 addition & 7 deletions trunk/kernel/rcupreempt.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ rcu_try_flip_waitzero(void)
/* Check to see if the sum of the "last" counters is zero. */

RCU_TRACE_ME(rcupreempt_trace_try_flip_z1);
for_each_cpu(cpu, to_cpumask(rcu_cpu_online_map))
for_each_possible_cpu(cpu)
sum += RCU_DATA_CPU(cpu)->rcu_flipctr[lastidx];
if (sum != 0) {
RCU_TRACE_ME(rcupreempt_trace_try_flip_ze1);
Expand Down Expand Up @@ -1067,12 +1067,6 @@ void rcu_offline_cpu(int cpu)
/* seen -after- acknowledgement. */
}

RCU_DATA_ME()->rcu_flipctr[0] += RCU_DATA_CPU(cpu)->rcu_flipctr[0];
RCU_DATA_ME()->rcu_flipctr[1] += RCU_DATA_CPU(cpu)->rcu_flipctr[1];

RCU_DATA_CPU(cpu)->rcu_flipctr[0] = 0;
RCU_DATA_CPU(cpu)->rcu_flipctr[1] = 0;

cpumask_clear_cpu(cpu, to_cpumask(rcu_cpu_online_map));

spin_unlock_irqrestore(&rcu_ctrlblk.fliplock, flags);
Expand Down

0 comments on commit 24dae12

Please sign in to comment.