Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223805
b: refs/heads/master
c: 20377f3
h: refs/heads/master
i:
  223803: ff5a9e3
v: v3
  • Loading branch information
Frederic Weisbecker authored and Paul E. McKenney committed Dec 17, 2010
1 parent 0ad15fb commit 3fa5a8c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e27fc9641e8ddc8146f8e01f06e5eba2469698de
refs/heads/master: 20377f32dcb77941d450728da18cce5b1a7faec5
8 changes: 8 additions & 0 deletions trunk/kernel/rcutree.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,14 @@ __rcu_process_gp_end(struct rcu_state *rsp, struct rcu_node *rnp, struct rcu_dat

/* Remember that we saw this grace-period completion. */
rdp->completed = rnp->completed;

/*
* If another CPU handled our extended quiescent states and
* we have no more grace period to complete yet, then stop
* chasing quiescent states.
*/
if (rdp->completed == rnp->gpnum)
rdp->qs_pending = 0;
}
}

Expand Down

0 comments on commit 3fa5a8c

Please sign in to comment.