|
@@ -1521,16 +1521,14 @@ rcu_start_gp(struct rcu_state *rsp, unsigned long flags)
|
|
|
raw_spin_unlock_irqrestore(&rnp->lock, flags);
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
rsp->gp_flags = RCU_GP_FLAG_INIT;
|
|
|
- raw_spin_unlock(&rnp->lock); /* Interrupts remain disabled. */
|
|
|
|
|
|
/* Ensure that CPU is aware of completion of last grace period. */
|
|
|
- rcu_process_gp_end(rsp, rdp);
|
|
|
- local_irq_restore(flags);
|
|
|
+ __rcu_process_gp_end(rsp, rdp->mynode, rdp);
|
|
|
|
|
|
/* Wake up rcu_gp_kthread() to start the grace period. */
|
|
|
wake_up(&rsp->gp_wq);
|
|
|
+ raw_spin_unlock_irqrestore(&rnp->lock, flags);
|
|
|
}
|
|
|
|
|
|
/*
|