Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1174782 > unrolled thread
| Started by | "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> |
|---|---|
| First post | 2015-06-30 23:50 +0200 |
| Last post | 2015-06-30 23:50 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH RFC tip/core/rcu 4/5] rcu: Wake grace-period kthread at end of expedited grace period "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-06-30 23:50 +0200
| From | "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> |
|---|---|
| Date | 2015-06-30 23:50 +0200 |
| Subject | [PATCH RFC tip/core/rcu 4/5] rcu: Wake grace-period kthread at end of expedited grace period |
| Message-ID | <pHbzH-5V3-3@gated-at.bofh.it> |
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> Let the expedited grace period confer its lower latency onto any normal grace period that is in progress. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> --- kernel/rcu/tree.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 5365f6332a60..308b6acb4260 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -3507,6 +3507,8 @@ void synchronize_sched_expedited(void) rcu_exp_gp_seq_end(rsp); mutex_unlock(&rnp->exp_funnel_mutex); smp_mb(); /* ensure subsequent action seen after grace period. */ + if (rsp->gp_kthread && rcu_gp_in_progress(rsp)) + wake_up(&rsp->gp_wq); put_online_cpus(); } -- 1.8.1.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web