]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
Allow cgcreate to create unlimited nr. of groups
authorJan Safranek <jsafrane@redhat.com>
Thu, 29 Oct 2009 14:48:06 +0000 (15:48 +0100)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Sat, 31 Oct 2009 21:39:09 +0000 (03:09 +0530)
commitc97161d985b99fea161272185085c4e23c1de951
tree24b2d4978c6019809f3fc9edb34e368f29aaf0a5
parentbcbe0a35334e08fd1aa5dbb7b96dd1fbd847955a
Allow cgcreate to create unlimited nr. of groups

Don't limit the number of groups cgcreate can create, allocate them
dynamically. The size of allocated space for the group is only aproximate, but
still should be better than hard CG_HIER_MAX.

Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
src/tools/cgcreate.c