On Monday 30 May 2011 05:19:28 Mike Frysinger wrote: > To make these guys work on SMP systems, we just need to sprinkle a few > barriers around. > > Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx> > --- > note: this is what the Blackfin SMP port is using, but it doesn't seem > like other SMP ports are ... so I wonder if we're just trying too hard > and these barriers aren't actually necessary ? On some architectures, atomic instructions are implicit barriers. On others, the cmpxchg() macro contains a barrier. I'm not sure if there is other code relying on that. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html