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>
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>
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.
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.