Skip to content

Fuzzy Sync yielding and validation test

Petr Vorel ltp 1 version New

Get series with b4
b4 am YEd78LRleAgWNeN3@pevik

Versions newest first

  1. v1 Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 6 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] [PATCH 0/6] Fuzzy Sync yielding and validation test

Hi Richie,

1st patch has error:
tst_fuzzy_sync01.c: In function ?delay?:
tst_fuzzy_sync01.c:107:10: error: ?struct tst_fzsync_pair? has no member named ?yield_in_wait?
107 | if (pair.yield_in_wait)
| ^
tst_fuzzy_sync01.c:113:12: error: ?struct tst_fzsync_pair? has no member named ?yield_in_wait?
113 | if (pair.yield_in_wait)
| ^
make[1]: *** [../../include/mk/rules.mk:37: tst_fuzzy_sync01] Error 1

4th patch (Leo Yu-Chi Liang's) patch has warnings:
In file included from tst_fuzzy_sync01.c:8:
../../include/tst_fuzzy_sync.h: In function ?tst_fzsync_pair_init?:
../../include/tst_fuzzy_sync.h:199:18: warning: comparison of constant ?0? with boolean expression is always false [-Wbool-compare]
199 | if (pair->param < low) \
| ^
../../include/tst_fuzzy_sync.h:221:2: note: in expansion of macro ?CHK?

  221 |  CHK(yield_in_wait, 0, 1, (tst_ncpus() <= 1));
      |  ^~~

../../include/tst_fuzzy_sync.h:201:18: warning: comparison of constant ?1? with boolean expression is always false [-Wbool-compare]
201 | if (pair->param > hi) \
| ^
../../include/tst_fuzzy_sync.h:221:2: note: in expansion of macro ?CHK?
221 | CHK(yield_in_wait, 0, 1, (tst_ncpus() <= 1));

Apart from that whole patchset LGTM, agree with Cyril's suggestions.

Kind regards,
Petr