Lines Matching full:memory
10 * A memory.min = 50M, memory.max = 200M
11 * A/B memory.min = 50M, memory.current = 50M
12 * A/B/C memory.min = 75M, memory.current = 50M
13 * A/B/D memory.min = 25M, memory.current = 50M
14 * A/B/E memory.min = 500M, memory.current = 0
15 * A/B/F memory.min = 0, memory.current = 50M
20 * memory pressure in it.
22 * A/B memory.current ~= 50M
23 * A/B/C memory.current ~= 33M
24 * A/B/D memory.current ~= 17M
25 * A/B/E memory.current ~= 0
28 * memory in A available, and checks that memory.min protects
31 * memory.min doesn't appear to exist on V1 so we only test on V2 like
34 * filesystems which allocate extra memory for buffer heads.
162 SAFE_CG_SCANF(trunk_cg[A], "memory.min", "%ld", c); in test_memcg_min()
165 "memory.min already set to %ld on parent group", c[0]); in test_memcg_min()
168 SAFE_CG_PRINT(trunk_cg[A], "cgroup.subtree_control", "+memory"); in test_memcg_min()
170 SAFE_CG_PRINT(trunk_cg[A], "memory.max", "200M"); in test_memcg_min()
171 SAFE_CG_PRINT(trunk_cg[A], "memory.swap.max", "0"); in test_memcg_min()
175 SAFE_CG_PRINT(trunk_cg[B], "cgroup.subtree_control", "+memory"); in test_memcg_min()
189 SAFE_CG_PRINT(trunk_cg[A], "memory.min", "50M"); in test_memcg_min()
190 SAFE_CG_PRINT(trunk_cg[B], "memory.min", "50M"); in test_memcg_min()
191 SAFE_CG_PRINT(leaf_cg[C], "memory.min", "75M"); in test_memcg_min()
192 SAFE_CG_PRINT(leaf_cg[D], "memory.min", "25M"); in test_memcg_min()
193 SAFE_CG_PRINT(leaf_cg[E], "memory.min", "500M"); in test_memcg_min()
194 SAFE_CG_PRINT(leaf_cg[F], "memory.min", "0"); in test_memcg_min()
197 SAFE_CG_SCANF(trunk_cg[B], "memory.current", "%ld", c); in test_memcg_min()
206 SAFE_CG_SCANF(trunk_cg[B], "memory.current", "%ld", c); in test_memcg_min()
208 "(A/B memory.current=%ld) ~= %d", c[0], MB(50)); in test_memcg_min()
211 SAFE_CG_SCANF(leaf_cg[i], "memory.current", "%ld", c + i); in test_memcg_min()
214 "(A/B/C memory.current=%ld) ~= %d", c[0], MB(33)); in test_memcg_min()
216 "(A/B/D memory.current=%ld) ~= %d", c[1], MB(17)); in test_memcg_min()
218 "(A/B/E memory.current=%ld) ~= 0", c[2]); in test_memcg_min()
222 SAFE_CG_SCANF(trunk_cg[B], "memory.current", "%ld", c); in test_memcg_min()
224 "(A/B memory.current=%ld) ~= %d", c[0], MB(50)); in test_memcg_min()
252 .needs_cgroup_ctrls = (const char *const[]){ "memory", NULL },