aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man7/cgroups.723
1 files changed, 12 insertions, 11 deletions
diff --git a/man7/cgroups.7 b/man7/cgroups.7
index 0fd4acf4bf..241cb17be3 100644
--- a/man7/cgroups.7
+++ b/man7/cgroups.7
@@ -402,6 +402,18 @@ remove the corresponding directory pathname.
Note that files in a cgroup directory cannot and need not be
removed.
.\"
+.SS Cgroups v1 release notification
+A special file in each cgroup hierarchy,
+.IR release_agent ,
+can be used to register a program to handle cgroups which become newly empty.
+The program will be called each time a cgroup marked for
+autoremove becomes empty and childless.
+The cgroup path will be provided as the first command-line argument.
+The cgroup must be marked as eligible for autoremove by writing '1' into its
+.IR notify_on_release
+file;
+this value is inherited by newly created child cgroups.
+.\"
.SS Cgroups version 2
In cgroups v2,
all mounted controllers reside in a single unified hierarchy.
@@ -477,17 +489,6 @@ For more changes, see the
.I Documentation/cgroup-v2.txt
file in the kernel source.
.\"
-.SS Cgroups v1 release notification
-A special file in each cgroup hierarchy,
-.IR release_agent ,
-can be used to register a program to handle cgroups which become newly empty.
-The program will be called each time a cgroup marked for
-autoremove becomes empty and childless.
-The cgroup path will be provided as the first command-line argument.
-The cgroup must be marked as eligible for autoremove by writing '1' into its
-.IR notify_on_release
-file;
-this value is inherited by newly created child cgroups.
.SS Cgroups v2 events file
A new feature in cgroups v2 is the
.I cgroup.populated