Sisyphus repositório
Última atualização: 30 novembro 2022 | SRPMs: 17938 | Visitas: 25430899
en ru br
ALT Linux repositórios

Group :: Sistema/Kernel e hardware
RPM: stalld

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# SPDX-License-Identifier: GPL-2.0-only
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

Name: stalld
Version: 1.17.0
Release: alt1
Summary: Daemon that finds starving tasks and gives them a temporary boost

License: GPL-2.0-only
Group: System/Kernel and hardware
# Presentation:
# Video:
# Slides:

Source: %name-%version.tar

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.

sed -i s/-lpthread/-pthread/ Makefile
sed -i / Makefile
sed -i '1s!/usr/bin/bash!/bin/bash!' scripts/

%add_optflags %(getconf LFS_CFLAGS)
%make_build CFLAGS='%optflags -DVERSION=\"%version\"'

%makeinstall_std -C redhat UNITDIR=%_unitdir
rm %buildroot/usr/share/licenses/stalld/gpl-2.0.txt

%post_service stalld.service

%preun_service stalld.service

%doc gpl-2.0.txt
%config(noreplace) %_sysconfdir/sysconfig/stalld


Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009