mirror of https://github.com/mkerrisk/man-pages
cgroups.7: Relocate text on "Cgroups v1 release notification"
No text changes Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
fb4752e127
commit
88afe701da
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue