[PATCH] ARM: allow inline atomics on Cortex M

Tim Northover t.p.northover at gmail.com
Tue Jun 17 09:20:06 PDT 2014


> The original code before Phoebe's patch almost gets that right, but is a
> little too conservative in the baremetal cases on both M-class cpus and non
> M-class cpus.

It looks like the overwhelming majority of platforms *do* use the
standard ldrex/strex loops, so I think we should be changing the
default: let any platform with a weird kernel opt itself out of inline
atomics.

Cheers.

Tim.



More information about the cfe-commits mailing list