[LTP] [PATCH v4 4/4] fzsync: Add delay bias for difficult races

Cyril Hrubis chrubis@suse.cz
Thu Nov 29 16:19:31 CET 2018

> + * A positive change delays thread B and a negative one delays thread
> + * A. Calling this will invalidate the statistics gathered so far and extend
> + * the minimum sampling period. Calling it once the sampling period has
> + * finished will have no effect.

I guess that this comment ended up out of sync with the code, since we
no longer seem to do reset the statistic nor increase the number of
iterations. Which also means that the patch could be more minimal, there
is no need to move the statistic initialization into a separate function
since it's does not seem to be called from more than one place, etc.

Cyril Hrubis

More information about the ltp mailing list