[PATCH 0/5] pi_stress: Bug fixes and improvements

John Kacur <[email protected]> Tue, 30 Jun 2026 12:44:57 -0400
Newsgroups org.kernel.vger.linux-rt-users
Message-ID <[email protected]>
This series addresses several issues in pi_stress:

- Fixes a critical deadlock bug in error handling where inconsistent
  barrier wait logic could cause the program to hang
- Improves input validation to reject malformed numeric arguments
- Enhances error messages for better user experience
- Fixes cosmetic issues in debug/error output
- Ensures proper string null-termination

The first patch is the most important as it fixes a real deadlock
scenario during error conditions.

John Kacur (5):
  pi_stress: Fix inconsistent barrier wait logic to prevent deadlock
  pi_stress: Validate numeric command-line arguments
  pi_stress: Improve error message for permission failures
  pi_stress: Fix error and debug message formatting
  pi_stress: Ensure null-termination of JSON filename

 src/pi_tests/pi_stress.c | 44 ++++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 15 deletions(-)

-- 
2.54.0