Fixes for F16.
authorMarco Yuen <marcoy@cs.princeton.edu>
Mon, 5 Mar 2012 18:37:19 +0000 (13:37 -0500)
committerMarco Yuen <marcoy@cs.princeton.edu>
Mon, 5 Mar 2012 18:37:19 +0000 (13:37 -0500)
commitfeab150b206313174a1e4c9fc2fa4a9b11bf18e4
tree30095c53b4d51b6fcafcea5e69f697eb249b8608
parent973e601b8663412a3c31860b2a77fa7b87c8c360
Fixes for F16.

cgroup is now mounted automatcially by systemd and the way is mounted is
very different from before. Hence, cgroups.py needs to be changed to
reflect the new mount point, and it doesn't use inotify to monitor the
FS anymore. Everything is done dynamically at runtime.

Changes for Coresched are cgroups related.

Since /var is mounted on tmpfs, os.rename doesn't work across partition,
so shutil.move is used instead.
cgroups.py
coresched.py
tools.py