diff --git a/.gitignore b/.gitignore index 20f5c40..06135d0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/stalld-1.6.tar.xz +SOURCES/stalld-1.14.1.tar.bz2 diff --git a/.stalld.metadata b/.stalld.metadata index 62d664b..9fcb783 100644 --- a/.stalld.metadata +++ b/.stalld.metadata @@ -1 +1 @@ -c380b72de1d7cd3d668a2478a3771cdfc7af0330 SOURCES/stalld-1.6.tar.xz +1cff3a75ffdb5ef2a38e3d0223c525795c21cdec SOURCES/stalld-1.14.1.tar.bz2 diff --git a/SPECS/stalld.spec b/SPECS/stalld.spec index 242cbc8..16a090c 100644 --- a/SPECS/stalld.spec +++ b/SPECS/stalld.spec @@ -1,11 +1,11 @@ Name: stalld -Version: 1.6 +Version: 1.14.1 Release: 1%{?dist} Summary: Daemon that finds starving tasks and gives them a temporary boost License: GPLv2 -URL: https://git.kernel.org/pub/scm/utils/stalld/stalld.git -Source0: https://jcwillia.fedorapeople.org/%{name}-%{version}.tar.xz +URL: https://gitlab.com/rt-linux-tools/%{name}/%{name}.git +Source0: https://gitlab.com/rt-linux-tools/%{name}/-/archive/v%{version}/%{name}-%{version}.tar.bz2 BuildRequires: glibc-devel BuildRequires: gcc @@ -26,7 +26,7 @@ allow 10 microseconds of runtime for 1 second of clock time. %autosetup %build -%make_build CFLAGS="%{build_cflags} -DVERSION="\\\"%{version}\\\""" LDFLAGS="%{build_ldflags}" +%make_build CFLAGS="%{optflags} %{build_cflags} -DVERSION="\\\"%{version}\\\""" LDFLAGS="%{build_ldflags}" %install %make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version} @@ -51,6 +51,76 @@ allow 10 microseconds of runtime for 1 second of clock time. %systemd_postun_with_restart %{name}.service %changelog +* Mon Jul 19 2021 Fernando Pacheco - 1.14.1-1 +- stalld: Coding style cleanup +- stalld: spaces in place of +- throttling: Use RT_RUNTIME_PATH in rt_throttling_is_off() +- throttling: Check open() on turn_off_rt_throttling +- throttling: Adjust variables in restore_rt_throttling() +- stalld.c: utils.c: Remove complex assignments from variable declarations +- stalld.h: Define MAX_PATH/DIR_PATH/FILE_NAME and use them +- stalld: Adjust variables in parse_old_task_format() +- utils.c: Use MAX_PATH for pidfile +- stalld.c: Remove variable declaration from the middle of the function +- stalld: Respect -l option in single threaded mode (1983100) +- utils: s/try_to_open_file/check_file_exists/ +- utils: use check_file_exists in setup_hr_tick() +- utils: Check for the new sched_features path + +* Fri Jul 02 2021 Fernando Pacheco - 1.13-1 +- stalld: Fix log message on boost_cpu_starving_vector() +- stalld: Add the overload control to the single-threaded mode +- stalld: Add the adaptive mode option +- stalld: Use the last mode set in the cmdline +- stalld: Fallback to the adaptive mode if force_fifo is selected +- stalld: Make single-threaded mode the default one (1920041) +- stalld.service: Always restart stalld on exit +- utils.c: Fail if user is not root +- utils.c: Make the path to sched_debug path dynamic (1977663) + +* Tue Jun 29 2021 Fernando Pacheco - 1.12-1 +- stalld.8: fix diff cruft left in manpage source +- stalld.c: clean up handling of nr_running +- stalld.c: remove duplicate parameter to fill_waiting_task() (1934582) +- stalld.service: Run stalld as sched_fifo via systemd +- stalld: Add error handling in get_cpu_idle_time() (1966259) +- packaging: clean up Makefiles and rpm specfile (1972806) +- stalld: Always print current function for info messages +- stalld: Always print current function for warn messages +- stalld: Always print current function for die messages +- utils: change PATHMAX to 4096 (1934581) + +* Thu May 13 2021 Clark Williams - 1.11-1 +- redhat/stalld.spec: pick up gating test version for changelog +- utils.c: set daemon umask to restrict global write/execute (1934586) +- hardening fixes from coverity scan (1934590) + +* Tue Apr 27 2021 Clark Williams - 1.10-1 +- utils: Fix bounds check on cpu and end_cpu variables +- stalld: Support denylisting of tasks in stalld +- src/utils: use right argument for warning printf + +* Wed Feb 17 2021 Clark Williams - 1.9-2 +- update to pick up latest gating test + +* Wed Feb 17 2021 Clark Williams - 1.9-1 +- Set starvation threshold default to 30 seconds +- rework read buffer allocation to properly find page size +- Add the -g/--granularity option +- Change the default granularity to five seconds +- Implement idle detection +- Implement the single-threaded mode +- Add HRTICK_DL support + +* Fri Feb 5 2021 Clark Williams - 1.8-1 +- Fix Readiness Protocol Mismatch with systemd +- test01: update to use buildin atomic operations +- test01: add throttling check + +* Tue Feb 2 2021 Clark Williams - 1.7-1 +- rework detect_task_format and buffer_size logic +- make CFLAGS for local compile match rpmbuild CFLAGS + * Tue Jan 26 2021 Clark Williams - 1.6-1 - add systemd handling of RT Throttling