Re: [PATCH] tools/testing/selftests/livepatch: define max test-syscall processes

From: Petr Mladek
Date: Fri May 31 2024 - 04:42:19 EST


On Wed 2024-05-29 16:19:41, Ryan Sullivan wrote:
> Define a maximum allowable number of pids that can be livepatched in
> test-syscall.sh as with extremely large machines the output from a
> large number of processes overflows the dev/kmsg "expect" buffer in
> the "check_result" function and causes a false error.
>
> Reported-by: CKI Project <cki-project@xxxxxxxxxx>
> Signed-off-by: Ryan Sullivan <rysulliv@xxxxxxxxxx>

Looks reasonable.

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr

PS: I am going to queue it for 6.11. I will add it into
a pull request for 6.10-rcX if there will be another more
critical fix which would need such a pull request.