Re: [RFC PATCH 12/30] rcu: Prepare rcu_read_[un]lock_bh() for handling softirq mask

2018-10-16 Thread Joel Fernandes
On Wed, Oct 17, 2018 at 02:44:19AM +0200, Frederic Weisbecker wrote: > On Mon, Oct 15, 2018 at 10:28:44PM -0700, Joel Fernandes wrote: > > > diff --git a/crypto/pcrypt.c b/crypto/pcrypt.c > > > index f8ec3d4..490358c 100644 > > > --- a/crypto/pcrypt.c > > > +++ b/crypto/pcrypt.c > > > @@ -73,12

Re: [RFC PATCH 12/30] rcu: Prepare rcu_read_[un]lock_bh() for handling softirq mask

2018-10-16 Thread Joel Fernandes
On Wed, Oct 17, 2018 at 02:44:19AM +0200, Frederic Weisbecker wrote: > On Mon, Oct 15, 2018 at 10:28:44PM -0700, Joel Fernandes wrote: > > > diff --git a/crypto/pcrypt.c b/crypto/pcrypt.c > > > index f8ec3d4..490358c 100644 > > > --- a/crypto/pcrypt.c > > > +++ b/crypto/pcrypt.c > > > @@ -73,12

Re: [RFC PATCH 12/30] rcu: Prepare rcu_read_[un]lock_bh() for handling softirq mask

2018-10-16 Thread Frederic Weisbecker
On Mon, Oct 15, 2018 at 10:28:44PM -0700, Joel Fernandes wrote: > > diff --git a/crypto/pcrypt.c b/crypto/pcrypt.c > > index f8ec3d4..490358c 100644 > > --- a/crypto/pcrypt.c > > +++ b/crypto/pcrypt.c > > @@ -73,12 +73,13 @@ struct pcrypt_aead_ctx { > > static int pcrypt_do_parallel(struct

Re: [RFC PATCH 12/30] rcu: Prepare rcu_read_[un]lock_bh() for handling softirq mask

2018-10-16 Thread Frederic Weisbecker
On Mon, Oct 15, 2018 at 10:28:44PM -0700, Joel Fernandes wrote: > > diff --git a/crypto/pcrypt.c b/crypto/pcrypt.c > > index f8ec3d4..490358c 100644 > > --- a/crypto/pcrypt.c > > +++ b/crypto/pcrypt.c > > @@ -73,12 +73,13 @@ struct pcrypt_aead_ctx { > > static int pcrypt_do_parallel(struct

Re: [RFC PATCH 12/30] rcu: Prepare rcu_read_[un]lock_bh() for handling softirq mask

2018-10-15 Thread Joel Fernandes
On Thu, Oct 11, 2018 at 01:11:59AM +0200, Frederic Weisbecker wrote: > This pair of function is implemented on top of local_bh_disable() that > is going to handle a softirq mask in order to apply finegrained vector > disablement. The lock function is going to return the previous vectors > enabled

Re: [RFC PATCH 12/30] rcu: Prepare rcu_read_[un]lock_bh() for handling softirq mask

2018-10-15 Thread Joel Fernandes
On Thu, Oct 11, 2018 at 01:11:59AM +0200, Frederic Weisbecker wrote: > This pair of function is implemented on top of local_bh_disable() that > is going to handle a softirq mask in order to apply finegrained vector > disablement. The lock function is going to return the previous vectors > enabled

[RFC PATCH 12/30] rcu: Prepare rcu_read_[un]lock_bh() for handling softirq mask

2018-10-10 Thread Frederic Weisbecker
This pair of function is implemented on top of local_bh_disable() that is going to handle a softirq mask in order to apply finegrained vector disablement. The lock function is going to return the previous vectors enabled mask prior to the last call to local_bh_disable(), following a similar model

[RFC PATCH 12/30] rcu: Prepare rcu_read_[un]lock_bh() for handling softirq mask

2018-10-10 Thread Frederic Weisbecker
This pair of function is implemented on top of local_bh_disable() that is going to handle a softirq mask in order to apply finegrained vector disablement. The lock function is going to return the previous vectors enabled mask prior to the last call to local_bh_disable(), following a similar model