Fwd: Problem report: Struct aliasing problem causes Thread_Ready_Chain corruption in 4.6.99.3

Thomas Doerfler Thomas.Doerfler at embedded-brains.de
Tue Nov 21 15:38:21 UTC 2006


Joel,

I am not quite convinced that putting intermediate pointer variables
into the critical code really fixes the problem. IMHO these pointer
variables are potentially optimized away by the compiler and will not
fix anything in the semantics.

Therefore your patch in malloc.c is IMHO identical to the previous
explicit cast. The rest of the patches definitily look more clean than
the previous code.

wkr,
Thomas.



-- 
--------------------------------------------
embedded brains GmbH
Thomas Doerfler           Obere Lagerstr. 30
D-82178 Puchheim          Germany
Tel. : +49-89-18 90 80 79-2
Fax  : +49-89-18 90 80 79-9
email: Thomas.Doerfler at embedded-brains.de
PGP public key available on request



More information about the users mailing list