Searched refs:memcg (Results 1 – 9 of 9) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 157 char *memcg; in test_memcg_current() local 159 memcg = cg_name(root, "memcg_test"); in test_memcg_current() 160 if (!memcg) in test_memcg_current() 163 if (cg_create(memcg)) in test_memcg_current() 166 current = cg_read_long(memcg, "memory.current"); in test_memcg_current() 170 if (cg_run(memcg, alloc_anon_50M_check, NULL)) in test_memcg_current() 173 if (cg_run(memcg, alloc_pagecache_50M_check, NULL)) in test_memcg_current() 179 cg_destroy(memcg); in test_memcg_current() 180 free(memcg); in test_memcg_current() 586 char *memcg; in test_memcg_high() local [all …]
|
/external/ltp/testcases/kernel/controllers/memcg/regression/ |
D | memcg_regression_test.sh | 105 mkdir memcg/0/ 106 echo 0 > memcg/0/memory.limit_in_bytes 110 rmdir memcg/0/ 131 mkdir memcg/0 132 echo $pid1 > memcg/0/tasks 139 echo 1 > memcg/0/memory.limit_in_bytes 2>&1 & 153 rmdir memcg/0 168 rmdir memcg/0 179 mkdir memcg/0 180 for pid in `cat memcg/tasks`; do [all …]
|
D | memcg_test_4.sh | 26 mkdir memcg/0 27 echo $$ > memcg/0/tasks 38 echo 40M > memcg/0/memory.limit_in_bytes 43 echo $pid > memcg/tasks 2> /dev/null 44 echo $$ > memcg/tasks 2> /dev/null 47 rmdir memcg/0
|
/external/ltp/testcases/kernel/controllers/memcg/stress/ |
D | memcg_stress_test.sh | 44 if [ -e /dev/memcg ]; then 45 umount /dev/memcg 2>/dev/null 46 rmdir /dev/memcg 2>/dev/null 55 mkdir /dev/memcg 2> /dev/null 56 mount -t cgroup -omemory memcg /dev/memcg 72 mkdir /dev/memcg/$i 2> /dev/null 76 eval echo \$pid$i > /dev/memcg/$i/tasks 91 rmdir /dev/memcg/$i 2> /dev/null
|
/external/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_lib.sh | 76 umount /dev/memcg 77 rmdir /dev/memcg 486 /dev/memcg/memory.use_hierarchy 501 ROD umount /dev/memcg 502 ROD rmdir /dev/memcg 509 ROD mkdir /dev/memcg 510 ROD mount -t cgroup -omemory memcg /dev/memcg 516 orig_memory_use_hierarchy=$(cat /dev/memcg/memory.use_hierarchy) 522 echo 0 > /dev/memcg/memory.use_hierarchy
|
D | memcg_force_empty.sh | 73 EXPECT_FAIL echo 1 \> /dev/memcg/memory.force_empty
|
/external/ltp/testcases/kernel/controllers/memcg/ |
D | README | 3 The directory memcg contains the tests related to memory resource controller.
|
/external/ltp/android/ |
D | Android.ltp.mk | 1209 module_src_files := testcases/kernel/controllers/memcg/control/memcg_control_test.sh 1213 module_src_files := testcases/kernel/controllers/memcg/functional/memcg_failcnt.sh 1217 module_src_files := testcases/kernel/controllers/memcg/functional/memcg_force_empty.sh 1221 module_src_files := testcases/kernel/controllers/memcg/functional/memcg_lib.sh 1225 module_src_files := testcases/kernel/controllers/memcg/functional/memcg_limit_in_bytes.sh 1229 module_src_files := testcases/kernel/controllers/memcg/functional/memcg_max_usage_in_bytes_test.sh 1233 module_src_files := testcases/kernel/controllers/memcg/functional/memcg_memsw_limit_in_bytes_test.sh 1237 module_src_files := testcases/kernel/controllers/memcg/functional/memcg_move_charge_at_immigrate_te… 1241 module_src_files := testcases/kernel/controllers/memcg/regression/memcg_regression_test.sh 1245 module_src_files := testcases/kernel/controllers/memcg/functional/memcg_stat_rss.sh [all …]
|
/external/ltp/ |
D | gen.bp | 8640 srcs: ["testcases/kernel/controllers/memcg/control/mem_process.c"], 8663 srcs: ["testcases/kernel/controllers/memcg/stress/memcg_process_stress.c"], 8676 srcs: ["testcases/kernel/controllers/memcg/regression/memcg_test_1.c"], 8689 srcs: ["testcases/kernel/controllers/memcg/regression/memcg_test_2.c"], 8702 srcs: ["testcases/kernel/controllers/memcg/regression/memcg_test_3.c"], 8715 srcs: ["testcases/kernel/controllers/memcg/regression/memcg_test_4.c"],
|