Move disable of RT throttling to before test for SCHED_DEADLINE

This commit is contained in:
Clark Williams 2020-12-11 12:51:10 -06:00
parent 404013df54
commit 449ffe92db
3 changed files with 14 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/stalld-1.0.tar.xz
/stalld-1.1.tar.xz
/stalld-1.2.tar.xz
/stalld-1.4.tar.xz

View File

@ -1 +1 @@
SHA512 (stalld-1.2.tar.xz) = 2416cadc79afa5585c6bfa15cc9916b09d1d98a3d86713f4757755e8b402dd8e2890e864cfd5827ecfe93d3ee2fa0da01a3d8d8b427029e4d10557627047cf40
SHA512 (stalld-1.4.tar.xz) = f9fb8f4de3a3d0877fd71e6847e5d1e4bfa4cf863a909cacbba25ed6ac6efbbbda1804746d761f8e59b693f33a84c26182ad37476070021430e4293cb888845d

View File

@ -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 <williams@redhat.com> - 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 <williams@redhat.com> - 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 <williams@redhat.com> - 1.2-1
- utils.c: added info() functions
- detect and correctly parse old-style /proc/sched_debug