Home
last modified time | relevance | path

Searched refs:wb_group (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/tools/testing/selftests/cgroup/
Dtest_zswap.c419 char *control_allocation = NULL, *wb_group = NULL, *control_group = NULL; in test_no_invasive_cgroup_shrink() local
421 wb_group = setup_test_group_1M(root, "per_memcg_wb_test1"); in test_no_invasive_cgroup_shrink()
422 if (!wb_group) in test_no_invasive_cgroup_shrink()
424 if (cg_write(wb_group, "memory.zswap.max", "10K")) in test_no_invasive_cgroup_shrink()
440 if (cg_run(wb_group, allocate_bytes, (void *)MB(10))) in test_no_invasive_cgroup_shrink()
444 if (get_cg_wb_count(wb_group) > 0 && get_cg_wb_count(control_group) == 0) in test_no_invasive_cgroup_shrink()
452 cg_destroy(wb_group); in test_no_invasive_cgroup_shrink()
453 free(wb_group); in test_no_invasive_cgroup_shrink()