summaryrefslogtreecommitdiffstats
path: root/libcgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcgroup.h')
-rw-r--r--libcgroup.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcgroup.h b/libcgroup.h
index ae73a22..8eeb1a7 100644
--- a/libcgroup.h
+++ b/libcgroup.h
@@ -156,6 +156,11 @@ void cg_unload_current_config(void);
#define CG_NV_MAX 100
#define CG_CONTROLLER_MAX 100
#define CG_VALUE_MAX 100
+/* Max number of mounted hierarchies. Event if one controller is mounted per
+ * hier, it can not exceed CG_CONTROLLER_MAX
+ */
+#define CG_HIER_MAX CG_CONTROLLER_MAX
+
/* Functions and structures that can be used by the application*/
struct cgroup;
struct cgroup_controller;