From 449ffe92db3f4c107fab10a46a080a66f3efdcfe Mon Sep 17 00:00:00 2001 From: Clark Williams Date: Fri, 11 Dec 2020 12:51:10 -0600 Subject: [PATCH] Move disable of RT throttling to before test for SCHED_DEADLINE --- .gitignore | 1 + sources | 2 +- stalld.spec | 15 ++++++++++++--- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 0aa186e..9e78b53 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /stalld-1.0.tar.xz /stalld-1.1.tar.xz /stalld-1.2.tar.xz +/stalld-1.4.tar.xz diff --git a/sources b/sources index 84dca07..16f8a93 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (stalld-1.2.tar.xz) = 2416cadc79afa5585c6bfa15cc9916b09d1d98a3d86713f4757755e8b402dd8e2890e864cfd5827ecfe93d3ee2fa0da01a3d8d8b427029e4d10557627047cf40 +SHA512 (stalld-1.4.tar.xz) = f9fb8f4de3a3d0877fd71e6847e5d1e4bfa4cf863a909cacbba25ed6ac6efbbbda1804746d761f8e59b693f33a84c26182ad37476070021430e4293cb888845d diff --git a/stalld.spec b/stalld.spec index ab93b05..1bd5f34 100644 --- a/stalld.spec +++ b/stalld.spec @@ -1,5 +1,5 @@ Name: stalld -Version: 1.2 +Version: 1.4 Release: 1%{?dist} Summary: Daemon that finds starving tasks and gives them a temporary boost @@ -26,10 +26,10 @@ allow 10 microseconds of runtime for 1 second of clock time. %autosetup %build -%make_build CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" +%make_build CFLAGS="%{build_cflags} -DVERSION="\\\"%{version}\\\""" LDFLAGS="%{build_ldflags}" %install -%make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} +%make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version} %make_install -C redhat UNITDIR=%{_unitdir} %files @@ -50,6 +50,15 @@ allow 10 microseconds of runtime for 1 second of clock time. %systemd_postun_with_restart %{name}.service %changelog +* Fri Dec 11 2020 Clark Williams - 1.4-1 +- stalld: Set rt_runtime to -1 before trying the SCHED_DEADLINE +- Fix incorrect recursion of specfile version field + +* Fri Nov 20 2020 Clark Williams - 1.3-1 +- Readme: Add information about repositories +- Add version management and version option +- create doc and scripts directory and add info on releases + * Mon Nov 2 2020 Clark Williams - 1.2-1 - utils.c: added info() functions - detect and correctly parse old-style /proc/sched_debug