Re: [PATCH percpu/for-3.11] percpu-refcount: use RCU-sched insted of normal RCU

2013-06-16 Thread Tejun Heo
On Sun, Jun 16, 2013 at 02:55:46PM -0700, Tejun Heo wrote: > percpu-refcount was incorrectly using preempt_disable/enable() for RCU > critical sections against call_rcu(). 6a24474da8 ("percpu-refcount: > consistently use plain (non-sched) RCU") fixed it by converting the > preepmtion operations

Re: [PATCH percpu/for-3.11] percpu-refcount: use RCU-sched insted of normal RCU

2013-06-16 Thread Kent Overstreet
On Sun, Jun 16, 2013 at 02:55:46PM -0700, Tejun Heo wrote: > percpu-refcount was incorrectly using preempt_disable/enable() for RCU > critical sections against call_rcu(). 6a24474da8 ("percpu-refcount: > consistently use plain (non-sched) RCU") fixed it by converting the > preepmtion operations

Re: [PATCH percpu/for-3.11] percpu-refcount: use RCU-sched insted of normal RCU

2013-06-16 Thread Paul E. McKenney
On Sun, Jun 16, 2013 at 02:55:46PM -0700, Tejun Heo wrote: > percpu-refcount was incorrectly using preempt_disable/enable() for RCU > critical sections against call_rcu(). 6a24474da8 ("percpu-refcount: > consistently use plain (non-sched) RCU") fixed it by converting the > preepmtion operations

[PATCH percpu/for-3.11] percpu-refcount: use RCU-sched insted of normal RCU

2013-06-16 Thread Tejun Heo
percpu-refcount was incorrectly using preempt_disable/enable() for RCU critical sections against call_rcu(). 6a24474da8 ("percpu-refcount: consistently use plain (non-sched) RCU") fixed it by converting the preepmtion operations with rcu_read_[un]lock() citing that there isn't any advantage in

[PATCH percpu/for-3.11] percpu-refcount: use RCU-sched insted of normal RCU

2013-06-16 Thread Tejun Heo
percpu-refcount was incorrectly using preempt_disable/enable() for RCU critical sections against call_rcu(). 6a24474da8 (percpu-refcount: consistently use plain (non-sched) RCU) fixed it by converting the preepmtion operations with rcu_read_[un]lock() citing that there isn't any advantage in

Re: [PATCH percpu/for-3.11] percpu-refcount: use RCU-sched insted of normal RCU

2013-06-16 Thread Paul E. McKenney
On Sun, Jun 16, 2013 at 02:55:46PM -0700, Tejun Heo wrote: percpu-refcount was incorrectly using preempt_disable/enable() for RCU critical sections against call_rcu(). 6a24474da8 (percpu-refcount: consistently use plain (non-sched) RCU) fixed it by converting the preepmtion operations with

Re: [PATCH percpu/for-3.11] percpu-refcount: use RCU-sched insted of normal RCU

2013-06-16 Thread Kent Overstreet
On Sun, Jun 16, 2013 at 02:55:46PM -0700, Tejun Heo wrote: percpu-refcount was incorrectly using preempt_disable/enable() for RCU critical sections against call_rcu(). 6a24474da8 (percpu-refcount: consistently use plain (non-sched) RCU) fixed it by converting the preepmtion operations with

Re: [PATCH percpu/for-3.11] percpu-refcount: use RCU-sched insted of normal RCU

2013-06-16 Thread Tejun Heo
On Sun, Jun 16, 2013 at 02:55:46PM -0700, Tejun Heo wrote: percpu-refcount was incorrectly using preempt_disable/enable() for RCU critical sections against call_rcu(). 6a24474da8 (percpu-refcount: consistently use plain (non-sched) RCU) fixed it by converting the preepmtion operations with