[LTP] pipe13: Scale child reap window with LTP_TIMEOUT_MUL
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Fri Jul 10 19:00:19 CEST 2026
Hi Stephen,
On Fri, 10 Jul 2026 10:31:19 -0400, Stephen Bertram wrote:
> pipe13: Scale child reap window with LTP_TIMEOUT_MUL
> The post-close wait used a fixed 1000000 us cap on exponential backoff
> (~524 ms total).
The total accumulated sleep time is 1+2+4+...+524288 = 1048575 us,
which is approximately 1048 ms (~1 second), not 524 ms.
524288 us (~524 ms) is the maximum value of a single usleep() call
within the loop -- not the total.
> on a debug kernel, about 1 to 2 times when iterated 5 times.
> With the addition of the function, under the same conditions,
> it has not failed in 100 iterations.
"paralell" -> "parallel".
Verdict - Needs revision
Pre-existing: pipe13.c carries an old-style "Test Description:" comment
block instead of the /*\ ... */ RST doc-comment format now required by
LTP conventions. Not introduced by this patch, but worth fixing in a
follow-up.
---
Note:
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
More information about the ltp
mailing list