Re: [PATCH v2 2/7] lib/dlock-list: Add __percpu modifier for parameters

2016-07-13 Thread Waiman Long
On 07/13/2016 12:08 PM, Tejun Heo wrote: On Mon, Jul 11, 2016 at 01:32:07PM -0400, Waiman Long wrote: From: Boqun Feng Add __percpu modifier properly to help: 1. Differ pointers to actual structures with those to percpu structures, which could improve

Re: [PATCH v2 2/7] lib/dlock-list: Add __percpu modifier for parameters

2016-07-13 Thread Waiman Long
On 07/13/2016 12:08 PM, Tejun Heo wrote: On Mon, Jul 11, 2016 at 01:32:07PM -0400, Waiman Long wrote: From: Boqun Feng Add __percpu modifier properly to help: 1. Differ pointers to actual structures with those to percpu structures, which could improve readability. 2.

Re: [PATCH v2 2/7] lib/dlock-list: Add __percpu modifier for parameters

2016-07-13 Thread Tejun Heo
On Mon, Jul 11, 2016 at 01:32:07PM -0400, Waiman Long wrote: > From: Boqun Feng > > Add __percpu modifier properly to help: > > 1.Differ pointers to actual structures with those to percpu > structures, which could improve readability. > > 2.Prevent sparse

Re: [PATCH v2 2/7] lib/dlock-list: Add __percpu modifier for parameters

2016-07-13 Thread Tejun Heo
On Mon, Jul 11, 2016 at 01:32:07PM -0400, Waiman Long wrote: > From: Boqun Feng > > Add __percpu modifier properly to help: > > 1.Differ pointers to actual structures with those to percpu > structures, which could improve readability. > > 2.Prevent sparse from complaining about

[PATCH v2 2/7] lib/dlock-list: Add __percpu modifier for parameters

2016-07-11 Thread Waiman Long
From: Boqun Feng Add __percpu modifier properly to help: 1. Differ pointers to actual structures with those to percpu structures, which could improve readability. 2. Prevent sparse from complaining about "different address spaces" Signed-off-by: Boqun

[PATCH v2 2/7] lib/dlock-list: Add __percpu modifier for parameters

2016-07-11 Thread Waiman Long
From: Boqun Feng Add __percpu modifier properly to help: 1. Differ pointers to actual structures with those to percpu structures, which could improve readability. 2. Prevent sparse from complaining about "different address spaces" Signed-off-by: Boqun Feng Signed-off-by: