Re: [PATCH v2 3/3] kselftest/cgroup: add cgroup destruction test

From: Tejun Heo
Date: Wed Feb 12 2020 - 17:10:07 EST


On Fri, Jan 24, 2020 at 12:40:17PM +0100, Michal Koutný wrote:
> From: Suren Baghdasaryan <surenb@xxxxxxxxxx>
>
> Add new test to verify that a cgroup with dead processes can be destroyed.
> The test spawns a child process which allocates and touches 100MB of RAM
> to ensure prolonged exit. Subsequently it kills the child, waits until
> the cgroup containing the child is empty and destroys the cgroup.
>
> Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
> [mkoutny@xxxxxxxx: Fix typo in test_cgcore_destroy comment]
> Acked-by: Michal Koutný <mkoutny@xxxxxxxx>
> Signed-off-by: Michal Koutný <mkoutny@xxxxxxxx>

Applied 2-3 to cgroup/for-5.7.

Thanks a lot for working on this!

--
tejun