Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-24 Thread Paul E. McKenney
On Tue, Oct 23, 2018 at 03:13:43PM +, Raslan, KarimAllah wrote: > On Fri, 2018-10-19 at 13:21 -0700, Paul E. McKenney wrote: > > On Fri, Oct 19, 2018 at 07:45:51PM +, Raslan, KarimAllah wrote: > > > > > > On Fri, 2018-10-19 at 05:31 -0700, Paul E. McKenney wrote: > > > > > > > > On Fri,

Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-24 Thread Paul E. McKenney
On Tue, Oct 23, 2018 at 03:13:43PM +, Raslan, KarimAllah wrote: > On Fri, 2018-10-19 at 13:21 -0700, Paul E. McKenney wrote: > > On Fri, Oct 19, 2018 at 07:45:51PM +, Raslan, KarimAllah wrote: > > > > > > On Fri, 2018-10-19 at 05:31 -0700, Paul E. McKenney wrote: > > > > > > > > On Fri,

Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-23 Thread Raslan, KarimAllah
On Fri, 2018-10-19 at 13:21 -0700, Paul E. McKenney wrote: > On Fri, Oct 19, 2018 at 07:45:51PM +, Raslan, KarimAllah wrote: > > > > On Fri, 2018-10-19 at 05:31 -0700, Paul E. McKenney wrote: > > > > > > On Fri, Oct 19, 2018 at 02:49:05AM +0200, KarimAllah Ahmed wrote: > > > > > > > > > >

Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-23 Thread Raslan, KarimAllah
On Fri, 2018-10-19 at 13:21 -0700, Paul E. McKenney wrote: > On Fri, Oct 19, 2018 at 07:45:51PM +, Raslan, KarimAllah wrote: > > > > On Fri, 2018-10-19 at 05:31 -0700, Paul E. McKenney wrote: > > > > > > On Fri, Oct 19, 2018 at 02:49:05AM +0200, KarimAllah Ahmed wrote: > > > > > > > > > >

Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-19 Thread Paul E. McKenney
On Fri, Oct 19, 2018 at 07:45:51PM +, Raslan, KarimAllah wrote: > On Fri, 2018-10-19 at 05:31 -0700, Paul E. McKenney wrote: > > On Fri, Oct 19, 2018 at 02:49:05AM +0200, KarimAllah Ahmed wrote: > > > > > > When expedited grace-period is set, both synchronize_sched > > > synchronize_rcu_bh

Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-19 Thread Paul E. McKenney
On Fri, Oct 19, 2018 at 07:45:51PM +, Raslan, KarimAllah wrote: > On Fri, 2018-10-19 at 05:31 -0700, Paul E. McKenney wrote: > > On Fri, Oct 19, 2018 at 02:49:05AM +0200, KarimAllah Ahmed wrote: > > > > > > When expedited grace-period is set, both synchronize_sched > > > synchronize_rcu_bh

Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-19 Thread Raslan, KarimAllah
On Fri, 2018-10-19 at 05:31 -0700, Paul E. McKenney wrote: > On Fri, Oct 19, 2018 at 02:49:05AM +0200, KarimAllah Ahmed wrote: > > > > When expedited grace-period is set, both synchronize_sched > > synchronize_rcu_bh can be optimized to have a significantly lower latency. > > > > Improve

Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-19 Thread Raslan, KarimAllah
On Fri, 2018-10-19 at 05:31 -0700, Paul E. McKenney wrote: > On Fri, Oct 19, 2018 at 02:49:05AM +0200, KarimAllah Ahmed wrote: > > > > When expedited grace-period is set, both synchronize_sched > > synchronize_rcu_bh can be optimized to have a significantly lower latency. > > > > Improve

Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-19 Thread Paul E. McKenney
On Fri, Oct 19, 2018 at 02:49:05AM +0200, KarimAllah Ahmed wrote: > When expedited grace-period is set, both synchronize_sched > synchronize_rcu_bh can be optimized to have a significantly lower latency. > > Improve wait_rcu_gp handling to also account for expedited grace-period. > The downside

Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-19 Thread Paul E. McKenney
On Fri, Oct 19, 2018 at 02:49:05AM +0200, KarimAllah Ahmed wrote: > When expedited grace-period is set, both synchronize_sched > synchronize_rcu_bh can be optimized to have a significantly lower latency. > > Improve wait_rcu_gp handling to also account for expedited grace-period. > The downside

[PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-18 Thread KarimAllah Ahmed
When expedited grace-period is set, both synchronize_sched synchronize_rcu_bh can be optimized to have a significantly lower latency. Improve wait_rcu_gp handling to also account for expedited grace-period. The downside is that wait_rcu_gp will not wait anymore for all RCU variants concurrently

[PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-18 Thread KarimAllah Ahmed
When expedited grace-period is set, both synchronize_sched synchronize_rcu_bh can be optimized to have a significantly lower latency. Improve wait_rcu_gp handling to also account for expedited grace-period. The downside is that wait_rcu_gp will not wait anymore for all RCU variants concurrently