diff options
author | Suren Baghdasaryan <surenb@google.com> | 2020-01-24 12:40:17 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2020-02-12 17:12:04 -0500 |
commit | 04189382c0be4e045d63a38b47f012a8f6c35edc (patch) | |
tree | 2f75996992399f5c941a8f53a42ca402b6eee70a /kernel/cgroup | |
parent | f43caa2adc96fc9c95fd77eef63cdff86ebf33cb (diff) | |
download | linux-04189382c0be4e045d63a38b47f012a8f6c35edc.tar.bz2 |
kselftest/cgroup: add cgroup destruction test
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@google.com>
[mkoutny@suse.com: Fix typo in test_cgcore_destroy comment]
Acked-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup')
0 files changed, 0 insertions, 0 deletions