diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-10-07 16:15:06 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-10-08 14:08:23 +0200 |
| commit | 88afe701daef7010ca1e63556b5eeb2c67ecdc41 (patch) | |
| tree | 2ec2163ce9f772fdae4f599f574a903322445425 /man7/cgroups.7 | |
| parent | fb4752e127234ed0cb3dd6fc3a91c2d6afdb1e8f (diff) | |
| download | man-pages-88afe701daef7010ca1e63556b5eeb2c67ecdc41.tar.gz | |
cgroups.7: Relocate text on "Cgroups v1 release notification"
No text changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/cgroups.7')
| -rw-r--r-- | man7/cgroups.7 | 23 |
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 |
