Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312191
b: refs/heads/master
c: a16b7a6
h: refs/heads/master
i:
  312189: f1049b6
  312187: b5d7b1e
  312183: 27c55fe
  312175: c88c45f
  312159: b741e78
  312127: f93ed4b
  312063: 3a21233
v: v3
  • Loading branch information
Paul E. McKenney authored and Paul E. McKenney committed Jul 2, 2012
1 parent 758485e commit 8a56910
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 62fde6edf12b60fddb13a3f0a779c8be0bb7447e
refs/heads/master: a16b7a693430406dc229ab0c6b154f669a2031c5
6 changes: 3 additions & 3 deletions trunk/kernel/rcutree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1904,11 +1904,11 @@ __call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu),
* If called from an extended quiescent state, invoke the RCU
* core in order to force a re-evaluation of RCU's idleness.
*/
if (rcu_is_cpu_idle())
if (rcu_is_cpu_idle() && cpu_online(smp_processor_id()))
invoke_rcu_core();

/* If interrupts were disabled, don't dive into RCU core. */
if (irqs_disabled_flags(flags)) {
/* If interrupts were disabled or CPU offline, don't invoke RCU core. */
if (irqs_disabled_flags(flags) || cpu_is_offline(smp_processor_id())) {
local_irq_restore(flags);
return;
}
Expand Down

0 comments on commit 8a56910

Please sign in to comment.