Skip to content

RFC Allow to compile on archs without atomic support

Cyril Hrubis ltp 1 version New

Get series with b4
b4 am 20180110110946.GC18314@rei

Versions newest first

  1. v1 RFC Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Hi!

Quoted 2 lines

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.

Signature · 2 lines
Cyril Hrubis
[email protected]