diff options
| author | Hongfu Li <lihongfu@kylinos.cn> | 2026-08-20 15:09:44 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-08-20 07:48:01 -1000 |
| commit | a8c6daab4b0e276508b7ffdd66c60fd3020a9178 (patch) | |
| tree | 09a5c89f019f05c1964e3d46497f1438cba56082 /scripts/objdiff | |
| parent | 0c893d170ff8efe7b4067552932d26e7defba307 (diff) | |
| download | linux-next-a8c6daab4b0e276508b7ffdd66c60fd3020a9178.tar.gz linux-next-a8c6daab4b0e276508b7ffdd66c60fd3020a9178.zip | |
selftests/cgroup: Fix cg_run_in_subcgroups ignoring arg parameter
cg_run_in_subcgroups() discards its arg and always passes NULL to cg_run(),
turning the (void *)100 from test_kmem_dead_cgroups() into NULL so no
allocation occurs.
This makes test_kmem_dead_cgroups() falsely pass without exercising the
"dying cgroup with charged slab" scenario it intends to test.
Pass the arg through to cg_run() to fix this.
Fixes: 933dc80ec262 ("kselftests: cgroup: add kernel memory accounting tests")
Signed-off-by: Hongfu Li <lihongfu@kylinos.cn>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
