[PATCH 16/41] modules: Use raw_cpu_write for initialization of per cpu refcount.

2014-01-17 Thread Christoph Lameter
[Patch depends on another patch in this series that introduces raw_cpu_ops] The initialization of a structure is not subject to synchronization. The use of __this_cpu would trigger a false positive with the additional preemption checks for __this_cpu ops. So simply disable the check through the u

[PATCH 16/41] modules: Use raw_cpu_write for initialization of per cpu refcount.

2013-12-03 Thread Christoph Lameter
The initialization of a structure is not subject to synchronization. The use of __this_cpu would trigger a false positive with the additional preemption checks for __this_cpu ops. So simply disable the check through the use of raw_cpu ops. Trace: [0.668066] __this_cpu_write operation in pree