Re: [BUG] 2.6.37-rc3 massive interactivity regression on ARM

From: Christoph Lameter
Date: Fri Dec 10 2010 - 16:45:28 EST


On Fri, 10 Dec 2010, Eric Dumazet wrote:

> > There is certainly a major difference in that execution of a stream of
> > instructions on the same cpu is guaranteed to have a coherent view of
> > the data. That is not affected by interrupts etc.
> >
>
> We dont care of interrupts. We care of doing a transaction over a
> complex set of data, that cannot be done using an atomic op (or we need
> a spinlock/mutex/rwlock), and should not because of performance.

So what? The cpu gives you incoherent view of data somewhere when only
processing data from a single cpu?

If you have remote data accesses (loop summing the data?) and you have to
be concerned about data coherence then you CANNOT use this_cpu_ops since
they are not guaranteed to be coherent to other processors.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/