NPTL Thread lockup issue on ARMv7

Ricard Wanderlof ricard.wanderlof at axis.com
Wed Feb 2 08:10:01 UTC 2011


On Tue, 1 Feb 2011, Rich Felker wrote:

> A better fix would probably be to create a global lock on the atomic 
> compare and exchange function so that only one thread can execute a 
> compare and exchange at a time. This would impact performance rather 
> badly, but that's better than having subtle race condition bugs that 
> occur randomly once in 5 years of execution...

I think many people would argue that given the stability of given a 
system as a whole, a random crash once per 5 years would be prefereble to 
a severe performance penelty which impacts the system on a continuous 
basis.

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30


More information about the uClibc mailing list