Re: [uclinux-dist-devel] [PATCH] mutex:SMP:bf561:Run smp memorybarrier after take atomic lock in mutex_fastpath APIs.

From: Mike Frysinger
Date: Wed Oct 26 2011 - 06:12:50 EST


On Wed, Oct 26, 2011 at 04:53, Zhang, Sonic wrote:
> Our SMP atomic implementation doesn't include memory barrier. Is it a better way to add barrier there?

i'll have to re-read the thread myself, but i thought the conclusions
of that thread were implemented in the Blackfin tree now

so if the conclusion was we needed barriers in the atomic funcs, and
we don't have them now, then that probably is the way to go instead
... but i'll have to review things in depth later
-mike
--
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/