[LTP] [RFC PATCH 0/2] Allow to compile on archs without atomic support

Cyril Hrubis chrubis@suse.cz
Wed Jan 10 12:09:46 CET 2018


Hi!
> What if we made general implementation with some locking? It would be
> slower, but I think we don't use atomics that much for it to matter.

Atomic increment was easiest way how to make the test library thread
safe I wasn't concerned with speed at all. But that is not true for the
CVE tests which use atomic operation to synchronize threads to trigger
races.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list