Re: [PATCH 4/6] Use raw_cpu_write for initialization of per cpu refcount.

2013-10-16 Thread Peter Zijlstra
On Tue, Oct 15, 2013 at 12:47:26PM -0500, Christoph Lameter wrote: > 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 4/6] Use raw_cpu_write for initialization of per cpu refcount.

2013-10-15 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

[PATCH 4/6] Use raw_cpu_write for initialization of per cpu refcount.

2013-10-11 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