-
Committer:
Petr Gajdůšek
-
Date:
2013-03-19 20:27:09 UTC
-
Revision ID:
git-v1:c8e7e444b2e92d12d51dd4b7bfbb72d847396143
improve set_active_pid() in group.c
- Reschedule all affected processes (those with changed list position),
so proc.active_pos works correctly inside lua rules, e.g. when a scheduler
rule checks for proc.acctive_pos == 1 the cgroup will now
contain only the topmost process.
- timestamp of the process last activity can now be passed (updated dbus
/ lua interface accordingly)
- minor optimization (the list is kept sorted, no need for explicit sorting)