Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-09 Thread Byungchul Park
On 3/9/2018 5:41 PM, Byungchul Park wrote: On Thu, Mar 08, 2018 at 10:01:56AM -0800, Paul E. McKenney wrote: On Thu, Mar 08, 2018 at 07:08:25PM +0900, Byungchul Park wrote: [...] 2. Clear its bit of ->expmask *only* when it's out of RCU read sections and keep others unchanged. So

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-09 Thread Byungchul Park
On Thu, Mar 08, 2018 at 10:01:56AM -0800, Paul E. McKenney wrote: > On Thu, Mar 08, 2018 at 07:08:25PM +0900, Byungchul Park wrote: [...] > >2. Clear its bit of ->expmask *only* when it's out of RCU read > > sections and keep others unchanged. So it will be cleared at the > > end

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-08 Thread Paul E. McKenney
it and you agree with it, I can add more > > > >>>logic > > > >>>which make it more expedited by boosting current or making it urgent > > > >>>when we fail to report the quiescent state on the IPI. > > > >>> > > &g

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-08 Thread Byungchul Park
;>>when we fail to report the quiescent state on the IPI. > > >>> > > >>>->8----- > > >>> From 0b0191f506c19ce331a1fdb7c2c5a00fb23fbcf2 Mon Sep 17 00:00:00 2001 > > >>>From: Byungchul Park > > >>>Date: Tue, 6

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-07 Thread Paul E. McKenney
; From 0b0191f506c19ce331a1fdb7c2c5a00fb23fbcf2 Mon Sep 17 00:00:00 2001 > >>>From: Byungchul Park > >>>Date: Tue, 6 Mar 2018 13:54:41 +0900 > >>>Subject: [RFC] rcu: Prevent expedite reporting within RCU > >>>read-side section > >>> >

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-06 Thread Byungchul Park
t;8-  From 0b0191f506c19ce331a1fdb7c2c5a00fb23fbcf2 Mon Sep 17 00:00:00 2001 From: Byungchul Park Date: Tue, 6 Mar 2018 13:54:41 +0900 Subject: [RFC] rcu: Prevent expedite reporting within RCU read-side section We report the quiescent state for this cpu if it's out of RCU read-side se

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-06 Thread Byungchul Park
rom 0b0191f506c19ce331a1fdb7c2c5a00fb23fbcf2 Mon Sep 17 00:00:00 2001 From: Byungchul Park Date: Tue, 6 Mar 2018 13:54:41 +0900 Subject: [RFC] rcu: Prevent expedite reporting within RCU read-side section We report the quiescent state for this cpu if it's out of RCU read-side section at the moment IPI was just fired du

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-06 Thread Paul E. McKenney
gt; when we fail to report the quiescent state on the IPI. > > > > ->8- > > From 0b0191f506c19ce331a1fdb7c2c5a00fb23fbcf2 Mon Sep 17 00:00:00 2001 > > From: Byungchul Park > > Date: Tue, 6 Mar 2018 13:54:41 +0900 > > Subject: [RFC] rcu: Prevent expedi

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-06 Thread Paul E. McKenney
aking it urgent > > when we fail to report the quiescent state on the IPI. > > > > ->8- > > From 0b0191f506c19ce331a1fdb7c2c5a00fb23fbcf2 Mon Sep 17 00:00:00 2001 > > From: Byungchul Park > > Date: Tue, 6 Mar 2018 13:54:41 +0900 > > Subject: [RFC] rcu: Prevent expedite reportin

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-06 Thread Boqun Feng
9ce331a1fdb7c2c5a00fb23fbcf2 Mon Sep 17 00:00:00 2001 > From: Byungchul Park > Date: Tue, 6 Mar 2018 13:54:41 +0900 > Subject: [RFC] rcu: Prevent expedite reporting within RCU read-side section > > We report the quiescent state for this cpu if it's out of RCU read-side >

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-06 Thread Byungchul Park
scent state on the IPI. > > ->8- > From 0b0191f506c19ce331a1fdb7c2c5a00fb23fbcf2 Mon Sep 17 00:00:00 2001 > From: Byungchul Park > Date: Tue, 6 Mar 2018 13:54:41 +0900 > Subject: [RFC] rcu: Prevent expedite reporting within RCU read-side section > > We report the quiescent state for this cpu if it&#x

[RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-05 Thread Byungchul Park
: [RFC] rcu: Prevent expedite reporting within RCU read-side section We report the quiescent state for this cpu if it's out of RCU read-side section at the moment IPI was just fired during the expedite process. However, current code reports the quiescent state even in the case: 1) the curr