Searched refs:mem_max_buf (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_zswap.c | 193 char *test_group, mem_max_buf[32]; in test_swapin_nozswap() local 198 snprintf(mem_max_buf, sizeof(mem_max_buf), "%zu", allocation_size * 3/4); in test_swapin_nozswap() 205 if (cg_write(test_group, "memory.max", mem_max_buf)) in test_swapin_nozswap() 458 char zswap_max_buf[32], mem_max_buf[32]; in test_no_invasive_cgroup_shrink() local 463 snprintf(mem_max_buf, sizeof(mem_max_buf), "%zu", allocation_size / 2); in test_no_invasive_cgroup_shrink() 470 if (cg_write(wb_group, "memory.max", mem_max_buf)) in test_no_invasive_cgroup_shrink() 476 if (cg_write(zw_group, "memory.max", mem_max_buf)) in test_no_invasive_cgroup_shrink()
|