Re: blackfin - cmpxchg not atomic ?

From: Mike Frysinger
Date: Sat Jul 21 2007 - 04:37:49 EST


On 7/21/07, Robert Schwebel <r.schwebel@xxxxxxxxxxxxxx> wrote:
On Fri, Jul 20, 2007 at 04:36:12PM -0400, Mike Frysinger wrote:
> > Also, does you assembly stub _really_ modify memory atomically ? If yes,
> > then there should be no need for disabling interrupts. Else, I see a
> > major problem with SMP.
>
> that isnt the only problem with SMP on Blackfin

Could you ealborate?

i'm pretty sure there's already been a thread on LKML about it ... the
fact that our parts currently lack any sort of cache snooping or
control over any other is a huge issue.

we've contracted a company to do SMP, but it'll have quite a bit of
overhead since it'll need to do a lot of communication/message passing
between cores to account for these hardware deficiencies.
-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/