From: Clark Williams <clrkwllms@kernel.org>
To: wander@redhat.com, debarbos@redhat.com, juri.lelli@redhat.com,
marco.chiappero@suse.com, chris.friesen@windriver.com,
luochunsheng@ustc.edu, luffyluo@tencent.com,
davidlt@rivosinc.com, clrkwllms@kernel.org, williams@redhat.com,
linux-rt-users@vger.kernel.org
Subject: [ANNOUNCE] stalld v1.28.1
Date: Wed, 17 Jun 2026 17:16:03 -0500 [thread overview]
Message-ID: <ajMco4CZyWrgwnNs@lysander> (raw)
Hello,
stalld v1.28.1 is available at:
https://git.kernel.org/pub/scm/utils/stalld/stalld.git
tag: v1.28.1
This is a hardening and test reliability release. It contains 17 bug
fixes addressing buffer safety, data races, signal safety, type
correctness, and a logic error in starvation timing. There is one
behavioral change (--force_fifo rejection in single-threaded mode), one
BPF performance improvement (hash map replaces linear scan), and a
major test suite overhaul for reliability and speed.
Changes since v1.27.1:
Bug Fixes — stalld core:
Memory safety & buffer handling:
- Fix buffer underflow in read_proc_stat and sched_debug_get
- Fix uninitialized buffer use in find_debugfs_mount_point
- Fix missing null-termination in is_runnable
- Fix snprintf truncation check in is_runnable
- Remove NULL deref in fill_waiting_task error handler
Type correctness:
- Fix format string type mismatch for time_t
- Fix format string type mismatch in set_cpu_affinity
- Fix type mismatches in detect_task_format
Concurrency & signal safety:
- Fix data race on config_buffer_size
- Fix data race on thread_running
- Remove async-signal-unsafe calls from signal handler
- Check pthread_create return in both aggressive_main and
conservative_main
Logic fixes:
- Fix signed integer overflow in set_reservation
- Fix error return in queue_track_get_cpu
- Fix inverted DAEMON_UMASK value
- Guard nextline() returns in sched_debug parsing
- Use CLOCK_MONOTONIC for starvation detection
New behavior:
- Reject --force_fifo in single-threaded mode (runtime validation)
BPF:
- Replace linear task scan with hash map
Test infrastructure overhaul:
New helpers and assertions:
- assert_success(), assert_log_contains(), assert_stalld_rejects()
- find_starved_child(), cleanup_scenario(), test_section()
- wait_for_process_exit, process helpers, starvation/boost asserts
- init_functional_test() consolidation
Reliability fixes:
- Fix subshell swallowing test results
- Fix boost verification in runtime and duration tests
- Fix journal flush race in logging destinations test
- Fix async-signal-unsafe handler in tests
- Fix repeated log match finding same line
- Fix CPU selection grep substring matches
- Fix task exit timing in test_boost_restoration
Cleanup & speed:
- Remove dead code, redundant sleeps, weak/assertion-free test blocks
- Replace sleep-based waits with event waits
- Reduce starvation_gen durations and default wait timeouts
- Abort immediately on test failure
Chore:
- Remove legacy test infrastructure and stale docs
57 files changed, 969 insertions(+), 10781 deletions(-)
Contributors:
Clark Williams (2):
tests: Fix journal flush race in logging destinations test
stalld: bump version to 1.28.1
Wander Lairson Costa (52):
stalld: Reject --force_fifo in single-threaded mode
bpf: Replace linear task scan with hash map
stalld: 16 bug fixes (see above)
tests: 30 test infrastructure commits
chore: Remove legacy test infrastructure and stale docs
Clark
--
The United States Coast Guard
Ruining Natural Selection since 1790
reply other threads:[~2026-06-17 22:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ajMco4CZyWrgwnNs@lysander \
--to=clrkwllms@kernel.org \
--cc=chris.friesen@windriver.com \
--cc=davidlt@rivosinc.com \
--cc=debarbos@redhat.com \
--cc=juri.lelli@redhat.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=luffyluo@tencent.com \
--cc=luochunsheng@ustc.edu \
--cc=marco.chiappero@suse.com \
--cc=wander@redhat.com \
--cc=williams@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.