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

Petr Vorel pvorel@suse.cz
Tue Jan 9 01:02:41 CET 2018


Hi Jan,

thanks for your comments.

> > 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.

> > 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.


> Regards,
> Jan


Kind regards,
Petr


More information about the ltp mailing list