Re: blackfin - cmpxchg not atomic ?

From: Robert Schwebel
Date: Sat Jul 21 2007 - 03:29:54 EST


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?

Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9

-
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/