Aliasing issue with TAILQ on ppc64 ?
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Sep 18 16:12:57 UTC 2012
In message <CAJ-FndDP3RSjgL_fXap2DyDZdXW3iQ_=jnAx_cCx5uFhFeaq5w at mail.gmail.com>
, Attilio Rao writes:
>Stop acting like the old teacher speaking to stupid students.
A very apt metaphor in this case.
Adding memory barriers to the TAILQ macros is not something I would
do lightly, but it is, obviously, one of the possibilties.
I'd far prefer if we could get away with sticking a couple of
volatile's in there.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-arch
mailing list