diff options
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 120820ffc657..916f42b39f1e 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -678,6 +678,14 @@ __rcu_process_gp_end(struct rcu_state *rsp, struct rcu_node *rnp, struct rcu_dat | |||
678 | 678 | ||
679 | /* Remember that we saw this grace-period completion. */ | 679 | /* Remember that we saw this grace-period completion. */ |
680 | rdp->completed = rnp->completed; | 680 | rdp->completed = rnp->completed; |
681 | |||
682 | /* | ||
683 | * If another CPU handled our extended quiescent states and | ||
684 | * we have no more grace period to complete yet, then stop | ||
685 | * chasing quiescent states. | ||
686 | */ | ||
687 | if (rdp->completed == rnp->gpnum) | ||
688 | rdp->qs_pending = 0; | ||
681 | } | 689 | } |
682 | } | 690 | } |
683 | 691 | ||