Cloning into a control group
Cloning into a control group
[Kernel] Posted Dec 20, 2019 23:08 UTC (Fri) by corbet
The Linux control-group mechanism was designed to make it easy to assign processes to groups or move them around; it is a simple matter of writing a process ID to the appropriate cgroup.procs file in the control-group filesystem hierarchy. That only works for processes that actually exist, though. Adding the ability to place a new process into a control group at birth is the subject of this patch set from Christian Brauner.