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

Tejun Heo
2020-02-12T22:10:03Z

On Fri, Jan 24, 2020 at 12:40:17PM +0100, Michal Koutný wrote:
> From: Suren Baghdasaryan <surenb-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
>
> 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-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
> [mkoutny-IBi9RG/b67k@public.gmane.org: Fix typo in test_cgcore_destroy comment]
> Acked-by: Michal Koutný <mkoutny-IBi9RG/b67k@public.gmane.org>
> Signed-off-by: Michal Koutný <mkoutny-IBi9RG/b67k@public.gmane.org>

Applied 2-3 to cgroup/for-5.7.

Thanks a lot for working on this!

--
tejun