[PATCH 02/14] ARM: bitops: switch set/clear/change bitops to use ldrex/strex

Nicolas Pitre nico at fluxnic.net
Sat Jan 22 23:44:59 EST 2011

On Sun, 23 Jan 2011, Russell King - ARM Linux wrote:

> On Mon, Jan 17, 2011 at 07:21:40PM +0000, Russell King - ARM Linux wrote:
> > Switch the set/clear/change bitops to use the word-based exclusive
> > operations, which are only present in a wider range of ARM architectures
> > than the byte-based exclusive operations.
> > 
> > Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
> As only one person replied to this patch with test information, I'm
> not happy to push this into -rc, and hence that prevents it going into
> -stable too.  

At least another person did post results:


> That means omap2plus_defconfig .38 mainline kernels
> (including -stable) will remain potentially dangerous when run on
> SMP capable hardware.

I must admit that this series looks a bit large for stable IMHO.  I 
think that the fix for stable should limit itself only to prevent SMP 
from being selected if anything else than CPU_32v6K is selected.

This looks perfectly reasonable for 2.6.38-rc to me though.


More information about the linux-arm-kernel mailing list