Sometimes on some machines, encounterd an issue of getting the controllers
information in reverse order. So keeping the uniformity for future.
Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@273
4f4bb910-9a46-0410-90c8-
c897d4f1cd53
};
enum controller_t {
- MEMORY,
CPU,
+ MEMORY,
CPUSET,
/* Add new controllers here */
};
echo "WARN: Earlier groups found and removed...";
fi;
- debug "cgroup filesystem mounted on $NEWTARGET directory"
+ debug "$CONTROLLERS controllers mounted on $NEWTARGET directory"
done;
if [ $FS_MOUNTED -gt 2 ]
# Add any new controller developed here
declare -a ctl_list;
# Following list has to be in sync with enums in header
- ctl_list[0]="memory";
- ctl_list[1]="cpu";
+ ctl_list[0]="cpu";
+ ctl_list[1]="memory";
ctl_list[2]="cpuset";
local i=0;