Lines Matching +full:50 +full:a
95 size_t size = MB(50); in alloc_anon_50M_check()
131 size_t size = MB(50); in alloc_pagecache_50M_check()
162 * This test create a memory cgroup, allocates
194 if (peak < MB(50)) in test_memcg_current_peak()
198 * We'll open a few FDs for the same memory.peak file to exercise the free-path in test_memcg_current_peak()
199 * We need at least three to be closed in a different order than writes occurred to test in test_memcg_current_peak()
248 /* Make sure a completely independent read isn't affected by our FD-local reset above*/ in test_memcg_current_peak()
250 if (peak < MB(50)) in test_memcg_current_peak()
274 if (peak < MB(50)) in test_memcg_current_peak()
279 if (peak < MB(50)) in test_memcg_current_peak()
283 if (peak < MB(50)) in test_memcg_current_peak()
315 if (alloc_pagecache(fd, MB(50))) in alloc_pagecache_50M_noexit()
348 * If we exceed a timeout, fail.
367 * A memory.min = 0, memory.max = 200M
368 * A/B memory.min = 50M
369 * A/B/C memory.min = 75M, memory.current = 50M
370 * A/B/D memory.min = 25M, memory.current = 50M
371 * A/B/E memory.min = 0, memory.current = 50M
372 * A/B/F memory.min = 500M, memory.current = 0
376 * Usages are pagecache and the test keeps a running
378 * Then it creates A/G and creates a significant
379 * memory pressure in A.
382 * A/B memory.current ~= 50M
383 * A/B/C memory.current ~= 29M
384 * A/B/D memory.current ~= 21M
385 * A/B/E memory.current ~= 0
386 * A/B/F memory.current = 0
390 * unprotected memory in A available, and checks that:
391 * a) memory.min protects pagecache even in this case,
394 * Then we try to reclaim from A/B/C using memory.reclaim until its
397 * (a) We ignore the protection of the reclaim target memcg.
470 if (cg_write(parent[1], attribute, "50M")) in test_memcg_protection()
492 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_protection()
516 current = min ? MB(50) : MB(30); in test_memcg_protection()
578 size_t size = MB(50); in alloc_pagecache_max_30M()
859 cg_run_nowait(memcg, alloc_anon_noexit, (void *) MB(50)); in test_memcg_reclaim()
862 expected_usage = MB(50); in test_memcg_reclaim()
901 size_t size = MB(50); in alloc_anon_50M_check_swap()
1080 * The cgroup is now empty, but there may be a page or two associated in test_memcg_swap_max_peak()
1288 * The test forks a TCP server listens on a random port between 1000
1289 * and 61000. Once it gets a client connection, it starts writing to
1386 if (cg_write(child, "memory.max", "50M")) in test_memcg_oom_group_leaf_events()
1507 if (cg_write(memcg, "memory.max", "50M")) in test_memcg_oom_group_score_events()