[PATCH 4/5] SMP01: possible CPU race when using byte arrays
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Oct 31 14:17:22 UTC 2013
On 2013-10-31 14:58, Daniel Hellstrom wrote:
> Switch to using 32-bit variable that works better on a
> 32-bit CPU. This does not solve the general SMP case
> though, would perhaps better to use an atomic set
> here.
In case a CPU doesn't support atomic 8-bit load/store operations it
insufficient for SMP.
A proper fix would be to use atomic operations, which we don't support at the
moment.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list