| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: stalld | Distribution: Fedora Project |
| Version: 1.25.1 | Vendor: Fedora Project |
| Release: 1.fc44 | Build date: Fri Nov 7 21:06:40 2025 |
| Group: Unspecified | Build host: buildvm-s390x-16.s390.fedoraproject.org |
| Size: 87355 | Source RPM: stalld-1.25.1-1.fc44.src.rpm |
| Packager: Fedora Project | |
| Url: https://gitlab.com/rt-linux-tools/stalld/stalld.git | |
| Summary: Daemon that finds starving tasks and gives them a temporary boost | |
The stalld program monitors the set of system threads, looking for threads that are ready-to-run but have not been given processor time for some threshold period. When a starving thread is found, it is given a temporary boost using the SCHED_DEADLINE policy. The default is to allow 10 microseconds of runtime for 1 second of clock time.
GPL-2.0-or-later AND GPL-2.0-only
* Fri Nov 07 2025 Clark Williams <williams@redhat.com> - 1.25.1-1 - docs: add CLAUDE.md, .claude agents, and update .gitignore - tests: Add comprehensive test suite with infrastructure and functional tests - tests: Add Phase 2 command-line option tests (8 new tests) - docs: Add project rules and agent usage guidelines - docs: Update context snapshot with Phase 2 completion - tests: Add Phase 3.1 core logic tests (starvation detection and parsing) - tests: Add Phase 3.2 boosting mechanism tests (DEADLINE, FIFO, restoration) - tests: Add Phase 3.3 task merging and idle detection tests - Phase 3 COMPLETE - tests: Add RT throttling save/restore helpers - tests: Automatically save and restore RT throttling state - tests: Fix test_task_merging empty variable errors and add DL-server check - tests: Add DL-server save/disable/restore support - docs: Update TODO.md with DL-server management and recent improvements - docs: Update context snapshot with Phase 3 completion and state management - tests: Add legacy test integration and backend selection support - test01: add ability to specify backend - tests: remove binary accidentally committed - tests: Fix cleanup EXIT trap to preserve test exit codes - tests: Fix test_log_only.sh timing and starvation reliability - tests: Add backend selection support to individual tests - saved claude context snapshot and moved CLAUDE.md to .claude dir - .claude: Add context-snapshot.json and update CLAUDE.md - tests: Fix starvation_gen to create actual RT starvation - tests: Fix test_starvation_detection.sh to respect backend selection - tests: Fix test_starvation_detection.sh timing and idle detection issues - tests: Fix EPERM errors in cleanup by improving process termination handling - docs: Update CLAUDE.md with backend selection and debugfs/procfs clarification - tests: Fix infinite hang in test_starvation_detection.sh Test 5 - tests: Rewrite test_cpu_selection.sh to use modern test framework - tests: Rewrite test_boost_period.sh to fix hanging issues - tests: Fix PID tracking and backgrounding issues in test suite - tests: Rewrite test_starvation_threshold.sh to fix undefined variables - tests: Fix test_starvation_threshold.sh log file collision issue - tests: Update TODO.md with 2025-10-09 progress and old-style test issues - tests: Update context snapshot for 2025-10-09 test framework hardening session - tests: Rewrite all remaining old-style Phase 2 tests using modern framework - tests: Fix EPERM errors in test cleanup by replacing wait with polling - tests: Fix Phase 1 test issues (affinity, backend_selection, fifo_boosting) - tests: Add -N flag to disable idle detection in starvation/FIFO tests - tests: Fix argument ordering in backend selection tests - tests: Fix hanging issues in test_boost_duration.sh - tests: Fix test_boost_runtime.sh hanging and improve reliability - save LLM context - add helpers for git-scm-master AI agent - tests: Fix output redirection issues in test_affinity.sh - test: Fix test_pidfile.sh output handling and CLI options - tests: Fix test_boost_period.sh helper integration and reliability - test: Fix test_boost_restoration.sh for stability and standard infrastructure - docs: Document mass test suite fixes session with 7 tests and 4 critical discoveries - tests: Fix grep pattern in test_starvation_threshold.sh for actual log format - docs: Update context snapshot for queue_track backend test fixes - tests: Implement matrix testing for backends and threading modes - docs: Update CLAUDE.md with correct threading mode flags and matrix testing - context: Document matrix testing infrastructure implementation - tests: Add timeout protection to test01_wrapper.sh - Document queue_track backend limitation in test_starvation_threshold.sh - docs: Update documentation with segfault fix and queue_track limitation - tests: Add FIFO-on-FIFO priority starvation test - tests: Enhance starvation_gen and fix test infrastructure - .claude: Update context snapshot - .claude: Update context snapshot - BPF RT task tracking fix completed - tests: Change starvation_gen default work_target to 1 - .claude: Update context snapshot - 14/16 tests passing with queue_track - tests: Improve starvation_gen thread coordination and shutdown - .claude: Update context snapshot - starvation_gen improvements and test progress - tests: Add --test option to run individual tests by name - .claude: Update context snapshot - test infrastructure improvements complete - tests: Fix test_boost_restoration to properly test SCHED_FIFO restoration - tests: Add SCHED_OTHER option to starvation_gen - tests: Update test_boost_restoration Test 3 to use SCHED_OTHER - context snapshot - tests: Add kworker denylist to test_boost_restoration - tests: Fix Test 5 timing and parameter validation - tests: Add journal logging for test activity correlation - context snapshot - tests: Increase test01 timeout and document kworker competition - context snapshot - tests: Add unified test environment management framework - context snapshot - tests: Fix timing race conditions in starvation detection tests - docs: Update TODO.md with test suite timing race condition fixes - docs: Add context snapshot for test suite timing race fixes - tests: Fix timing race conditions in starvation detection tests - tests: Fix timing race conditions in test_deadline_boosting - tests: Fix timing race conditions in 4 remaining functional tests - tests: Fix output buffering and kernel worker interference - tests: Fix output buffering in test_starvation_detection Test 3 - docs: Context snapshot for Nov 3 evening session - timing fixes and buffering issues - tests: Fix test_starvation_detection Test 3 flawed counting logic - tests: Consolidate duplicate helper functions (Part 1 complete) - context snapshot - bpf: Add BPF CO-RE compatibility for older kernels - Makefile: Make BPF compilation verbose - Makefile: Append -std=c99 to CFLAGS - doc: update Releases.md for repository instructions - tests: Fix start_stalld() PID detection for daemon and slow architectures - doc: Release notes for v1.25.1 release - Makefile: version bump to v1.25.1 * Fri Oct 24 2025 Clark Williams <williams@redhat.com> - 1.24.1-1 - sched_debug: Unify parsing methods for task_info - sched_debug: Fix runqueue task parsing logic and state filtering - sched_debug: Fix double-free crash in fill_waiting_task() - stalld.c: remove noisy idle report and added report to should_skip_idle_cpus() - stalld.c: initialize cpu_info->idle_time to be -1 - stalld.c: get rid of misleading print about DL-Server - stalld.c: Add starvation logging in single-threaded log-only mode - stalld: Add -N/--no_idle_detect flag to disable idle detection - stalld: Add defensive checks in print_boosted_info - Makefile: Add support for legacy kernels - scripts: fix run-local if bashism - sched_debug: Fix segfault in adaptive/aggressive modes - Makefile: Remove redhat-specific checks - Makefile: Add a help target - Makefile: Check compatible compiler versions - stalld.c: Ensure queue_track backend is not referenced when USE_BPF=0 - Makefile: version bump to v1.24.1 * Tue Sep 30 2025 Clark Williams <williams@redhat.com> - 1.23.1-1 - stalld: make the queue_track (eBPF) backend the default - Makefile: version bump to v1.23.1 * Tue Sep 30 2025 Clark Williams <williams@redhat.com> - 1.22.1-1 - bpf: Reduce arguments to log() to fix verifier error - stalld: Always reset starving vector in merge_taks_info - stalld: Remove forced log-only mode with DL-server - Makefile: version bump to v1.22.1 * Fri Sep 12 2025 Clark Williams <williams@redhat.com> - 1.21.1-1 - refactor: Remove unused 'exiting' variable - bpf: Introduce task_is_rt() helper - bpf: Correctly update nr_rt_running on sched_switch - Simplify __die() function to use abort() - Refactor: Use path length macros in check_dl_server_dir_exists - Refactor: Remove duplicated find_debugfs function - utils: Remove unused find_mount() function - bpf: Reorder functions to prepare for future changes - bpf: Pass stalld_cpu_data pointer to queuing functions - bpf: Make update_or_add_task() return void - bpf: Reuse enqueue_task() in update_or_add_task() - bpf: Use tracepoints to avoid fentry startup stall - bpf: Centralize monitoring check in get_cpu_data() - bpf: Remove unused 'task' variable - bpf: Use task_cpu() to get the correct CPU data - bpf: Handle wakeup of new tasks with sched_wakeup_new - daemon: Refactor cleanup logic into a helper function - daemon: Clean up stale tasks during the boost phase - bpf: Document and enhance dequeue_task return value - bpf: Handle task migrations with sched_migrate_task - bpf: a task is dequeued just by setting its pid to 0 - bpf: Improve logging in stalld.bpf.c - bpf: Use BPF CO-RE for task CPU field access - bpf: Add const qualifier to task_struct pointers - bpf: Add task iterator for initial state snapshot - bpf: Simplify task queue management by removing redundant rt parameter - bpf: Add cpu to log_task_prefix - stalld: Refactor tgid_field handling to use sizeof - refactor: Move helper functions to utils.c - stalld: Simplify get_cpu_idle_time() function using sscanf - refactor: Simplify update_cpu_starving_vector() - refactor: Remove unused headers from stalld.c - stalld: Extract repeated buffer reallocation pattern - stalld: Flatten nested conditionals using early returns - refactor: Extract common idle detection pattern into helper function - refactor: Standardize memory allocation with calloc-compatible helper - bpf: Use CO-RE to check for running tasks - systemd: change systemd service startup to use RuntimeDirectory - Makefile: version bump to v1.21.1 * Mon Aug 18 2025 Clark Williams <williams@redhat.com> - 1.20.4-1 - Makefile: version bump to v1.20.4 - stalld.service: Fix duplicate ExecStart in service files * Tue Aug 12 2025 Clark Williams <williams@redhat.com> - 1.20.3-1 - Makefile: bump version to v1.20.3 - stalld.service: Fix failure to set FIFO scheduling class * Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jul 17 2025 Clark Williams <williams@redhat.com> - 1.21.2-1 - Makefile: bump version to v1.20.1 - bpf: Improve task tracking in sched_switch - bpf/stalld: Introduce compute_ctxswc helper and update ctxswc on sched_switch * Wed Jul 16 2025 Clark Williams <williams@redhat.com> - 1.21.1-1 - Makefile: update version to 1.20.1 - scripts: add a script for running a local build for debuggin - stalld: Automatically switch to log-only mode if DL-server present - bpf/stalld: Implement and use find_queued_task helper in dequeue_task - bpf/stalld: Introduce and use for_each_task_entry/for_each_queued_task macros - build/debug: Control optimization and debug levels via DEBUG variable - stalld: sched_attr: Do not define for glibc >= 2.41 - stalld: Refactor verbose logging with dedicated macros - stalld/queue_track: Consolidate print_queued_tasks verbosity control - gitignore: Add common build and tag files - build/debug: Allow DEBUG_STALLD to be controlled by 'DEBUG' Makefile variable - build/bpf/stalld: Pave way for DEBUG_STALLD command-line override - bpf/stalld: Introduce generic 'log' macro for BPF debug prints - bpf/stalld: Unify and generalize debug macro to DEBUG_STALLD * Thu May 22 2025 John Kacur <jkacur@redhat.com> - 1.19.8-3 - Add patch to conditionally use glibc sched attar if available * Wed Feb 19 2025 Clark Williams <williams@redhat.com> - 1.19.8-2 - sync up with other builds * Wed Feb 19 2025 Clark Williams <williams@redhat.com> - 1.19.8 - Fix incorrect DAEMON_UMASK value - Add 'errexit' to throttlectl.sh - Added glibc41 fix to source tree, removed patch - stalld.h: fix prototype mis-match with cleanup_regex() * Tue Jan 21 2025 Clark Williams <williams@redhat.com> - 1.19.7 - stalld.c: use a more reasonable size for reading /proc/stat - systemd/Makefile: remove typo in uninstall line - Makefile: change modes on throttled and stalld - throttlectl: clean up throttling script due to reported CVE-2024-54159 * Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Jul 31 2024 Clark Williams <williams@redhat.com> - 1.19.6 - systemd: add BE environment variable to select backend - Makefile: add uninstall target - version bump to 1.19.6 * Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jul 12 2024 Clark Williams <williams@redhat.com> - 1.19.5 - Makefile: refactor CFLAGS/LDFLAGS for local and koji builds - doc/Releases.md: Add a note about tagging * Thu Jul 11 2024 Clark Williams <williams@redhat.com> - 1.19.4-2 - stalld.spec: pass USE_BPF=1 in CFLAGS * Thu Jul 11 2024 Clark Williams <williams@redhat.com> - 1.19.4 - Makefile: refactor options to pass annocheck * Wed Jun 05 2024 Clark Williams <williams@redhat.com> - 1.19.3-2 - systemd: ensure that pidfile directory exists * Thu May 16 2024 Clark Williams <williams@redhat.com> - 1.19.3 - src/utils.c: fix off-by-one error in buffer allocation - Makefile: change build to use FORTIFY_SOURCE=3 * Wed Apr 24 2024 Clark Williams <williams@redhat.com> - 1.19.2 - Make fill_process_comm() open comm file as READ_ONLY - throttlectl.sh: use legal value for exit on fail - stalld: free malloc'd buffer on function exit - throttling.c: null terminate input buffer - stalld.conf: Fix stalld service start fail - Conditionalize BPF and queue_track build per architecture - clean up Makefile install logic and add .bz2 to .gitignore - modify Makefiles so install works with relative paths - rename 'redhat' to 'systemd' and remove redhat packaging logic - update SPDX tags to non-deprecated values - stalld: Add -a/--affinity option - Adding SPDX license info to each file - man/stalld.8: change starving threshold to match code - utils: Fix freeing of invalid pointer - add bpftool as BuildRequires * Mon Dec 25 2023 Clark Williams <williams@redhat.com> - 1.18.1 - queue_track: Use LIBBPF_MAJOR/MINOR_VERSION to detect deprecated functions - utils: Close file descriptor - stalld: Fix function name of daemonize() - docs: Fix typo in the manual - queue_track: Use bpf_map__resize on older libbpf versions - utils: Let tgid to arrive at the fill proccess comm - stalld: Fix log message on idle detection - stalld: Add -b/--backend option - stalld: Add queue track eBPF based backend - stalld: Add fill_process_comm helper - stalld: Include regex.h on stalld.h - stalld: Get nr of cpus only once - stalld: Add the backend abstraction - sched_debug: Move sched debug functions to an specific file * Thu Dec 21 2023 Clark Williams <williams@redhat.com> - 1.17.1 - stalld: Fix memory leak in print_boosted_info() - utils: Check if the system is in lockdown mode - stalld: print process comm and cpu when boosting - stalld: Detect runnable dying tasks - stalld: Fix nr_periods calculation in do_fifo_boost() - stalld.conf: Lower threshold to 20 - utils.c: Exit early if enabling HRTICK fails when using SCHED_DEADLINE - Add support for loongarch * Mon Dec 18 2023 Clark Williams <williams@redhat.com> - 1.16.7 - fix to sync versions * Mon Dec 18 2023 Clark Williams <williams@redhat.com> - 1.16.6 - remove un-needed BuildRequire for bpftool * Mon Dec 18 2023 Clark Williams <williams@redhat.com> - 1.16.5 - changed package license to match SPDX values
/etc/sysconfig/stalld /usr/bin/stalld /usr/bin/throttlectl /usr/lib/.build-id /usr/lib/.build-id/5f /usr/lib/.build-id/5f/1e084981cb11f94e16cbdbd02421d8b3e6672e /usr/lib/systemd/system/stalld.service /usr/share/doc/README.md /usr/share/licenses/stalld /usr/share/licenses/stalld/gpl-2.0.txt /usr/share/man/man8/stalld.8.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Nov 9 01:11:29 2025