RFC Allow to compile on archs without atomic support
Get series with b4
b4 am [email protected]Versions newest first
- 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.
Cover letter [LTP] [RFC PATCH 0/2] Allow to compile on archs without atomic support
----- Original Message -----
Quoted 1 line
Hi,
Hi,
Quoted 4 lines
I know as this has quite low priority (benefit only people with old compilers and archs), but why not to give a chance them to have at least something from LTP?
Compiler shouldn't matter, we have fallbacks.
So I assume this concerns only some architectures we currently don't support.
Quoted 3 lines
Quite a lot of tests it's working, affected are only tests using threads on new API or fuzzy synchronization and counting results for tests using new api.
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.
Regards,
Jan