Skip to content

RFC Allow to compile on archs without atomic support

Petr Vorel ltp 1 version New

Get series with b4
b4 am 20180109000241.GA20748@x230

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 Jan,

thanks for your comments.

Quoted 6 lines
Quoted 3 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.

Yes.

Quoted 6 lines
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.

Makes sense. I'll implement it.

Quoted 2 lines

Regards,
Jan

Kind regards,
Petr