Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_max_usage_in_bytes_test.sh16 MEM_LIMIT=$((MEM_TO_ALLOC * 2))
70 EXPECT_PASS echo $MEM_LIMIT \> memory.limit_in_bytes
71 EXPECT_PASS echo $MEM_LIMIT \> memory.memsw.limit_in_bytes
86 EXPECT_PASS echo $MEM_LIMIT \> memory.limit_in_bytes
87 EXPECT_PASS echo $MEM_LIMIT \> memory.memsw.limit_in_bytes
Dmemcg_usage_in_bytes_test.sh16 MEM_LIMIT=$((MEM_TO_ALLOC * 2))
31 EXPECT_PASS echo $MEM_LIMIT \> memory.limit_in_bytes
32 EXPECT_PASS echo $MEM_LIMIT \> memory.memsw.limit_in_bytes
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise06.c54 #define MEM_LIMIT (CHUNK_SZ / 2) macro
127 SAFE_CGROUP_PRINTF(cg, "memory.max", "%ld", MEM_LIMIT); in setup()
149 CHUNK_SZ / 1024, CHUNK_SZ / pg_sz, MEM_LIMIT / 1024, PASS_THRESHOLD_KB); in setup()
197 TEST(madvise(target, MEM_LIMIT, MADV_WILLNEED)); in test_advice_willneed()