Commit Graph

59 Commits (master)
 

Author SHA1 Message Date
Libor Pechacek 02ef9e09e1 Update to 1.6pre1 includes following changes:
* Make cpuset compatible with both Python 2 and 3
* Update package meta information

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
6 years ago
Libor Pechacek 026fb4b1d2 Fix ProgressBar.progress() call
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
6 years ago
Libor Pechacek 16b4846505 Use io.open for compatibility with Python 3
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
6 years ago
Libor Pechacek b4de1a75a7 Refresh generated docs
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
6 years ago
Libor Pechacek 78f3c08545 Update author's e-mail address
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
6 years ago
Libor Pechacek ee601b92d3 Clean up after automated conversion
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
6 years ago
Libor Pechacek 1344191105 Pass cpuset through Futurize
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
6 years ago
Libor Pechacek 011f52297d Update setup.py with new information
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
6 years ago
Libor Pechacek b5bcd7937c Recognize SCHED_DEADLINE policy
Introduced in kernel v3.14.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
7 years ago
Libor Pechacek a65e82c1d5 Merge branch 'vivekanand1117-patch-1'
Conflicts:
	cpuset/version.py
8 years ago
Libor Pechacek 058ec1d4b9 v1.5.8 release
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Libor Pechacek 70bfe38224 Add script to set version string at multiple places
In documentation directory only *.txt are updated.  The rest are generated
files.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Vivekanand 241477ef2d Updating version number to 1.5.7
While downloading the package, it says the version number is 1.5.7 but it has not been changed in the version file.
8 years ago
Libor Pechacek ae629aa1dc Update NEWS with v1.5.7 release notes
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Mike Galbraith 6de8563184 cpuset: remove obsolete 'Authors' section from cpuset.spec
Remove obsolete 'Authors' section from cpuset.spec.
Otherwise, factory maintainers reject your sr, like so...

State of request 351161 was changed by dimstar:

  review -> declined

Comment:
  +
+Authors:
+--------
+    Alex Tsariounov <alext@novell.com>
+

Don't add those old, long obsoleted sections to a .spec file.

Signed-off-by: Mike Galbraith <mgalbraith@suse.de>
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Libor Pechacek 8ffce0b3d0 Fix setup.py
Fixed regression introduced in 1341fdd07d plus a typo fix.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Libor Pechacek 86cb8ac7d3 Docu: fixed a typo
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Libor Pechacek 1341fdd07d Update URLs after project migration
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Libor Pechacek 9fb1132877 Docu: fix asciidoc build error
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Libor Pechacek e3fa37041a Docu: remove mention about nonexistent option
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Libor Pechacek 226c8185d4 Parse /proc/<pid>/stat properly
Process names can contain spaces.  Handle these cases correctly.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Libor Pechacek 0dab14e927 Handle unknown scheduler policy codes gracefully
Prevent unhandled exception upon reading unknown scheduler policy code from
/proc/<pid>/stat.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Libor Pechacek de1ae0d598 Fix crash with SCHED_IDLE policy
There are two new schduling policies to be recognized by cset.  SCHED_ISO and
SCHED_IDLE.  The former is not yet implemented in Linux kernel so we write out
'???' when we encounter its code.  For the latter there is the string 'idl'.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 years ago
Mike Galbraith 2214078783 cset, make it handle cgroup mounts
When cpuset has been mounted as a cgroup controller, files are prefixes
with "cpuset.", leading to expected files not existing.  Change cset's
filename expectations depending on mount type.

Signed-off-by: Mike Galbraith <mgalbraith@suse.de>
8 years ago
Alex Tsariounov 3530e5d789 Added tag rel_1.5.6 for changeset 74eb810ae9d9 13 years ago
Alex Tsariounov 852b9985ff Also set USER env var when execting new process with the --user
option.
13 years ago
Alex Tsariounov 3f26cbfb0b Added tag rel_1.5.6 for changeset bd89526b6626 13 years ago
Alex Tsariounov ae24e7d34a Fix for Issue #5 (LOGNAME not set on exec with --user parameter)
Also updated dates and some incorrect texts.
13 years ago
Alex Tsariounov f17b178714 Removed tag 28 14 years ago
Alex Tsariounov f437c4ed46 Added tag rel_1.5.5, 28 for changeset a73efd0e8871 14 years ago
Alex Tsariounov f1572064d5 Release 1.5.5 with fix for Issue#3. 14 years ago
Alex Tsariounov cb9ce1ca24 Output message for cset set --cpu_exclusive and --mem_exclusive
modification.  This is currently not implemented.
14 years ago
Alex Tsariounov 24a7538453 Fix Issue#3: cset fails to create cpu sets if some cpus are offline
Problem was in cset.rescan() where if certain cpus are offline the all
cpu mask turns into a complex expression.  The split of this
expression did not account for commas and thus threw an exception if
commas were present.  This patch fixes that problem and accounts for
complex cpu expression.  Also added a couple of targets to the
Makefile.
14 years ago
Alex Tsariounov 6c3a137e28 Increment version for stage release. 14 years ago
Alex Tsariounov 3f5d29beb2 Added mostroski to AUTHORS. 14 years ago
Alex Tsariounov 759814ca0a Added tag rel_1.5.4 for changeset fef3279d9301 14 years ago
Alex Tsariounov ae5c2923c1 Release 1.5.4
Includes patch by mostroski for Issue#2, fixes exception if
running tasks with non-existent uids.
14 years ago
Alex Tsariounov afa3d3943d Apply patch by mostroski to commands/proc.py which fixes exception if
a process is run with a nonexistant uid.  When listing processes
running in a cpuset, the patch tries to lookup the user name by uid,
and if the uid does not exist in /etc/passwd, the uid is printed
instead of the user name.
14 years ago
Alex Tsariounov ef072838bc Add .hgignore file to igrore dist and python bytecode files. 14 years ago
Alex Tsariounov 5012e30630 Added tag rel_1.5.3 for changeset e50c7714a80d 14 years ago
Alex Tsariounov 1d0bd4e01b Fix misspelling. 14 years ago
Alex Tsariounov e03a8bb9d0 Removed tag rel_1.5.3 14 years ago
Alex Tsariounov 72b1f547b1 Remove superfluous revision comment 14 years ago
Alex Tsariounov 06edf3b087 Added tag rel_1.5.3 for changeset f77fa69a25f0 14 years ago
Alex Tsariounov d479f322b4 Update spec file for current release. 14 years ago
Alex Tsariounov d8b2d35fd3 Removed tag rel_1.5.3 14 years ago
Alex Tsariounov 1c405360f9 Added tag rel_1.5.3 for changeset 3fb90b7bc5e0 14 years ago
Alex Tsariounov a0b850ddda Removed TODO from dist. 14 years ago
Alex Tsariounov b01c7911ac Removed TODO and cpuset/task.py. 14 years ago
Alex Tsariounov 08be173ace Updated version. Updated documentation. Updated copyright.
Added contributor recognition.  Updated links to new project
hosting site.
14 years ago