Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268977
b: refs/heads/master
c: 037067a
h: refs/heads/master
i:
  268975: 3018005
v: v3
  • Loading branch information
Paul E. McKenney authored and Paul E. McKenney committed Sep 29, 2011
1 parent dd729e7 commit 34b04a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 82e78d80fc392ac7e98326bc8beeb8a679913ffd
refs/heads/master: 037067a1b6f9a70f862f3ed9d59fe28b7cd55ac4
7 changes: 5 additions & 2 deletions trunk/kernel/rcutree.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,8 +838,11 @@ rcu_start_gp(struct rcu_state *rsp, unsigned long flags)
struct rcu_data *rdp = this_cpu_ptr(rsp->rda);
struct rcu_node *rnp = rcu_get_root(rsp);

if (!cpu_needs_another_gp(rsp, rdp) || rsp->fqs_active) {
if (cpu_needs_another_gp(rsp, rdp))
if (!rcu_scheduler_fully_active ||
!cpu_needs_another_gp(rsp, rdp) ||
rsp->fqs_active) {
if (rcu_scheduler_fully_active &&
cpu_needs_another_gp(rsp, rdp))
rsp->fqs_need_gp = 1;
if (rnp->completed == rsp->completed) {
raw_spin_unlock_irqrestore(&rnp->lock, flags);
Expand Down

0 comments on commit 34b04a0

Please sign in to comment.