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

From: Waiman Long
Date: Wed Jul 13 2016 - 22:55:24 EST


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<boqun.feng@xxxxxxxxx>

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<boqun.feng@xxxxxxxxx>
Signed-off-by: Waiman Long<Waiman.Long@xxxxxxx>
Please do this in the same patch.

Thanks.


Will merge it into patch 1.

Cheers,
Longman