diff --git a/cpuset-0.1.tar.gz b/cpuset-0.1.tar.gz deleted file mode 100644 index 82e276e..0000000 --- a/cpuset-0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:434ecd62f57f9a325201cf2a290769fe5b994dc204ebddf5e7d783642c1b6b97 -size 21278 diff --git a/cpuset-1.04.tar.gz b/cpuset-1.04.tar.gz new file mode 100644 index 0000000..89dd9df --- /dev/null +++ b/cpuset-1.04.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f97d2d7d7ab9e953d730d8abd3514cdf0b870c45f8931f1d07589e9fb7d9595 +size 47710 diff --git a/cpuset.changes b/cpuset.changes index 3f35446..a149fbf 100644 --- a/cpuset.changes +++ b/cpuset.changes @@ -1,3 +1,130 @@ +------------------------------------------------------------------- +Wed Sep 3 00:55:34 CEST 2008 - alext@suse.de + +- Update to svn version 135, release 1.04 +- Fixes bnc#422324 - Cset tool fails when cpu offlined + +------------------------------------------------------------------- +Fri Jul 18 22:16:21 CEST 2008 - alext@suse.de + +- Update to svn version 133, release 1.03 +- Remove class variable CpuSet.sets dictionary when CpuSet object + (re)initialized. If you use cset as a library, then since the + class var did not get zeroed out, old sets were found on + cset.rescan() which broke the data structure. +- Fixes bnc#410636 + +------------------------------------------------------------------- +Tue Jun 10 23:51:47 CEST 2008 - alext@suse.de + +- Update to svn version 126, release 1.02 +- Fix bug in new cpuset mount detection code + +------------------------------------------------------------------- +Tue Jun 10 21:05:57 CEST 2008 - alext@suse.de + +- Update to svn version 122, release 1.01 +- Fix community reported bug of not seeing cpuset filesystem + mounted if running control groups (cgroups) +- Remove need to mount cpuset filesystem if only executing help +- Fix traceback if giving list of sets to list procs command + +------------------------------------------------------------------- +Sat May 31 01:44:10 CEST 2008 - alext@suse.de + +- Update to svn version 117, release 1.0 +- Addition of man pages and html docs + +------------------------------------------------------------------- +Fri May 9 21:00:14 CEST 2008 - alext@suse.de + +- Update to svn revision 104, release 0.9.1 +- Fix bug #388958 +- Add files README and COPYING to rpm + +------------------------------------------------------------------- +Fri May 2 03:01:09 CEST 2008 - alext@suse.de + +- Update to svn version 102, release 0.9 +- Added -k/--kthread to proc move command to move kernel threads +- Kernel threads are not moved automatically for generic move + unless -k is also used +- If kernel threads are not unbound, then both -k and -a is + necessary +- Improved information output for why tasks are moved or not +- FYI: previous release 0.8 was svn revision 96 + +------------------------------------------------------------------- +Wed Apr 23 19:12:06 CEST 2008 - alext@suse.de + +- Fixed bug #380819 +- Fixed incorrect test for unbound task for shield; affects + kernel thread shielding +- Change proc -l to always output long listing of tasks in + specified cpuset since set -l will output summary +- Removed text re recommending 2.6.22 +- Added correct source url +- Added check for existing subsets for set --delete command +- Switched to Novell Outerforge for svn: + http://developer.novell.com/wiki/index.php/Cpuset + +------------------------------------------------------------------- +Thu Apr 3 20:02:08 CEST 2008 - alext@suse.de + +- Update to svn version 143, release 0.7 +- First fully functional release: commands shield, set and proc + work. +- Updated online docs. +- Known issues: +- irq threads not moved for -kon for shield command +- odd messages output from OS when incorrect cpusets commands + issued +- missing documentation: man pages and tutorial + +------------------------------------------------------------------- +Fri Mar 21 00:36:38 CET 2008 - alext@suse.de + +- Update to svn version 127, release 0.6 +- Added --user/--group for exec options for the shield and proc + commands. Cset still needs to be root in order to manipulate + cpusets, but you can exec other processes as different users. +- Removed explicit check for root uid. Now all permissions checks + are implicit. +- Changed proc/--run to proc/--exec to match shield. +- Shield/unshield commands now only move tasks from unshield to shield + or shield to unshield, and leave tasks in the root cpuset alone, + unless the --force option is specified. +- Added clearer output feedback. + +------------------------------------------------------------------- +Tue Mar 18 21:09:23 CET 2008 - alext@suse.de + +- Update to svn version 116, release 0.5 +- Fixes to cset/proc command for moving tasks. +- More cset/set code, but set still not 100%. + +------------------------------------------------------------------- +Sat Mar 15 00:00:41 CET 2008 - alext@suse.de + +- Update to svn version 109, release 0.4 +- The proc command is fully functional. The set command has + documentation and revised options. The mem command has been + removed. + +------------------------------------------------------------------- +Wed Mar 12 18:31:36 CET 2008 - alext@suse.de + +- Update to svn version 89, release 0.3 +- Incorporate feedback for shield supercommand from initial 0.2 + release. + +------------------------------------------------------------------- +Sat Feb 16 02:19:24 CET 2008 - alext@suse.de + +- Update to version 0.2, svn version 77. +- The shield supercommand is fully functional. Other commands are + not yet implemented. + ------------------------------------------------------------------- Thu Jan 24 20:12:50 CET 2008 - alext@suse.de diff --git a/cpuset.spec b/cpuset.spec index 652b013..3a63dac 100644 --- a/cpuset.spec +++ b/cpuset.spec @@ -1,24 +1,32 @@ # -# spec file for package cpuset (Version 0.1) +# spec file for package cpuset (Version 1.04) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: cpuset -Version: 0.1 -Release: 3 +Version: 1.04 +Release: 1 Summary: Allows manipluation of cpusets on system and provides higher level functions. Source: %{name}-%{version}.tar.gz License: GPL v2 only Group: System/Management BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://www.opensuse.org +Url: http://developer.novell.com/wiki/index.php/Cpuset BuildRequires: python-devel %py_requires @@ -41,20 +49,112 @@ Authors: %build python setup.py build +#make doc ->not yet, asciidoc is missing... %install -python setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix} --record-rpm=INSTALLED_FILES -# rm generic /usr/share/doc/packages dir that's already in the filesystem rpm -cat INSTALLED_FILES | awk '! /%dir[ \t]*\/usr\/share\/doc\/packages$/' > tmpfil.files -mv -f tmpfil.files INSTALLED_FILES +python setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix} +cd doc ; prefix=$RPM_BUILD_ROOT%{_mandir} make install ; cd .. +for i in `( cd $RPM_BUILD_ROOT ; find * | sort )` ; do + if ! test -d $RPM_BUILD_ROOT/$i ; then + echo "/$i" + fi +done > %{_builddir}/%{name}.list %clean rm -rf $RPM_BUILD_ROOT -%files -f INSTALLED_FILES +%files -f %{_builddir}/%{name}.list %defattr(-,root,root) +%dir %{py_sitedir}/cpuset +%dir %{py_sitedir}/cpuset/commands +%dir %{_defaultdocdir}/cpuset %changelog +* Wed Sep 03 2008 alext@suse.de +- Update to svn version 135, release 1.04 +- Fixes bnc#422324 - Cset tool fails when cpu offlined +* Sat Jul 19 2008 alext@suse.de +- Update to svn version 133, release 1.03 +- Remove class variable CpuSet.sets dictionary when CpuSet object + (re)initialized. If you use cset as a library, then since the + class var did not get zeroed out, old sets were found on + cset.rescan() which broke the data structure. +- Fixes bnc#410636 +* Wed Jun 11 2008 alext@suse.de +- Update to svn version 126, release 1.02 +- Fix bug in new cpuset mount detection code +* Tue Jun 10 2008 alext@suse.de +- Update to svn version 122, release 1.01 +- Fix community reported bug of not seeing cpuset filesystem + mounted if running control groups (cgroups) +- Remove need to mount cpuset filesystem if only executing help +- Fix traceback if giving list of sets to list procs command +* Sat May 31 2008 alext@suse.de +- Update to svn version 117, release 1.0 +- Addition of man pages and html docs +* Fri May 09 2008 alext@suse.de +- Update to svn revision 104, release 0.9.1 +- Fix bug #388958 +- Add files README and COPYING to rpm +* Fri May 02 2008 alext@suse.de +- Update to svn version 102, release 0.9 +- Added -k/--kthread to proc move command to move kernel threads +- Kernel threads are not moved automatically for generic move + unless -k is also used +- If kernel threads are not unbound, then both -k and -a is + necessary +- Improved information output for why tasks are moved or not +- FYI: previous release 0.8 was svn revision 96 +* Wed Apr 23 2008 alext@suse.de +- Fixed bug #380819 +- Fixed incorrect test for unbound task for shield; affects + kernel thread shielding +- Change proc -l to always output long listing of tasks in + specified cpuset since set -l will output summary +- Removed text re recommending 2.6.22 +- Added correct source url +- Added check for existing subsets for set --delete command +- Switched to Novell Outerforge for svn: + http://developer.novell.com/wiki/index.php/Cpuset +* Thu Apr 03 2008 alext@suse.de +- Update to svn version 143, release 0.7 +- First fully functional release: commands shield, set and proc + work. +- Updated online docs. +- Known issues: +- irq threads not moved for -kon for shield command +- odd messages output from OS when incorrect cpusets commands + issued +- missing documentation: man pages and tutorial +* Fri Mar 21 2008 alext@suse.de +- Update to svn version 127, release 0.6 +- Added --user/--group for exec options for the shield and proc + commands. Cset still needs to be root in order to manipulate + cpusets, but you can exec other processes as different users. +- Removed explicit check for root uid. Now all permissions checks + are implicit. +- Changed proc/--run to proc/--exec to match shield. +- Shield/unshield commands now only move tasks from unshield to shield + or shield to unshield, and leave tasks in the root cpuset alone, + unless the --force option is specified. +- Added clearer output feedback. +* Tue Mar 18 2008 alext@suse.de +- Update to svn version 116, release 0.5 +- Fixes to cset/proc command for moving tasks. +- More cset/set code, but set still not 100%%. +* Sat Mar 15 2008 alext@suse.de +- Update to svn version 109, release 0.4 +- The proc command is fully functional. The set command has + documentation and revised options. The mem command has been + removed. +* Wed Mar 12 2008 alext@suse.de +- Update to svn version 89, release 0.3 +- Incorporate feedback for shield supercommand from initial 0.2 + release. +* Sat Feb 16 2008 alext@suse.de +- Update to version 0.2, svn version 77. +- The shield supercommand is fully functional. Other commands are + not yet implemented. * Thu Jan 24 2008 alext@suse.de - Remove error in abuild for including generic doc directory in list of files