Merge tag 'mips_5.14_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[linux-2.6-microblaze.git] / Documentation / admin-guide / cgroup-v2.rst
index 4e59925..5c7377b 100644 (file)
@@ -953,6 +953,21 @@ All cgroup core files are prefixed with "cgroup."
        it's possible to delete a frozen (and empty) cgroup, as well as
        create new sub-cgroups.
 
+  cgroup.kill
+       A write-only single value file which exists in non-root cgroups.
+       The only allowed value is "1".
+
+       Writing "1" to the file causes the cgroup and all descendant cgroups to
+       be killed. This means that all processes located in the affected cgroup
+       tree will be killed via SIGKILL.
+
+       Killing a cgroup tree will deal with concurrent forks appropriately and
+       is protected against migrations.
+
+       In a threaded cgroup, writing this file fails with EOPNOTSUPP as
+       killing cgroups is a process directed operation, i.e. it affects
+       the whole thread-group.
+
 Controllers
 ===========