[PATCH 02/14] ARM: bitops: switch set/clear/change bitops to use ldrex/strex
From: nico@fluxnic.net (Nicolas Pitre)
Date: 2011-01-23 04:44:59
Also in:
linux-omap
From: nico@fluxnic.net (Nicolas Pitre)
Date: 2011-01-23 04:44:59
Also in:
linux-omap
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:quoted
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 <redacted>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: http://mid.gmane.org/20110117094602.GA2622 at pulham.picochip.com http://mid.gmane.org/20110117110308.GC2622 at pulham.picochip.com
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. Nicolas