cgroup: add cgroup_subsys->free() method and use it to fix pids controller
[firefly-linux-kernel-4.4.55.git] / Documentation / cgroups / cgroups.txt
index f935fac1e73b9e18981b8b0ff2a69ba534b5e34d..c6256ae9885b8ac7445f6d10066ee541ebb388b8 100644 (file)
@@ -637,6 +637,10 @@ void exit(struct task_struct *task)
 
 Called during task exit.
 
+void free(struct task_struct *task)
+
+Called when the task_struct is freed.
+
 void bind(struct cgroup *root)
 (cgroup_mutex held by caller)