Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182225
b: refs/heads/master
c: 559569a
h: refs/heads/master
i:
  182223: 7ead65c
v: v3
  • Loading branch information
Paul E. McKenney authored and Ingo Molnar committed Jan 13, 2010
1 parent ae5568a commit 3a8fbf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 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: f96e9232e04856c781d4f71923a46dd3f7b429fa
refs/heads/master: 559569acf94f538b56bd6eead80b439d6a78cdff
13 changes: 3 additions & 10 deletions trunk/kernel/rcutree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,6 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed)
case RCU_GP_IDLE:
case RCU_GP_INIT:

spin_unlock(&rnp->lock);
break; /* grace period idle or initializing, ignore. */

case RCU_SAVE_DYNTICK:
Expand All @@ -1246,10 +1245,8 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed)
rsp->completed_fqs = lastcomp;
forcenow = signaled == RCU_SAVE_COMPLETED;
}
if (!forcenow) {
spin_unlock(&rnp->lock);
if (!forcenow)
break;
}
/* fall into next case. */

case RCU_FORCE_QS:
Expand All @@ -1262,14 +1259,10 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed)

/* Leave state in case more forcing is required. */

break;

default:

spin_unlock(&rnp->lock);
WARN_ON_ONCE(1);
spin_lock(&rnp->lock);
break;
}
spin_unlock(&rnp->lock);
unlock_fqs_ret:
spin_unlock_irqrestore(&rsp->fqslock, flags);
}
Expand Down

0 comments on commit 3a8fbf5

Please sign in to comment.