cgroup: define controller file conventions
[deliverable/linux.git] / include / linux / cgroup.h
index a593e299162eb0f318f1d9647adfc3c236599661..c6bf9d30c2709fc8f08f709430578e3a3b4dc24a 100644 (file)
 
 #ifdef CONFIG_CGROUPS
 
+/*
+ * All weight knobs on the default hierarhcy should use the following min,
+ * default and max values.  The default value is the logarithmic center of
+ * MIN and MAX and allows 100x to be expressed in both directions.
+ */
+#define CGROUP_WEIGHT_MIN              1
+#define CGROUP_WEIGHT_DFL              100
+#define CGROUP_WEIGHT_MAX              10000
+
 /* a css_task_iter should be treated as an opaque object */
 struct css_task_iter {
        struct cgroup_subsys            *ss;
This page took 0.02674 seconds and 5 git commands to generate.