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/
H A Dmemcg_max_usage_in_bytes_test.sh64 EXPECT_PASS echo $MEM_LIMIT \> memory.limit_in_bytes
65 EXPECT_PASS echo $MEM_LIMIT \> memory.memsw.limit_in_bytes
80 EXPECT_PASS echo $MEM_LIMIT \> memory.limit_in_bytes
81 EXPECT_PASS echo $MEM_LIMIT \> memory.memsw.limit_in_bytes
89 MEM_LIMIT=$((MEM_TO_ALLOC * 2))
H A Dmemcg_usage_in_bytes_test.sh25 EXPECT_PASS echo $MEM_LIMIT \> memory.limit_in_bytes
26 EXPECT_PASS echo $MEM_LIMIT \> memory.memsw.limit_in_bytes
36 MEM_LIMIT=$((MEM_TO_ALLOC * 2))
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise06.c29 * roughly MEM_LIMIT bytes added to it, but for reliability the
53 #define MEM_LIMIT (CHUNK_SZ / 2) macro
121 SAFE_CG_PRINTF(tst_cg, "memory.max", "%ld", MEM_LIMIT); in setup()
143 CHUNK_SZ / 1024, CHUNK_SZ / pg_sz, MEM_LIMIT / 1024, PASS_THRESHOLD_KB); in setup()
186 TEST(madvise(target, MEM_LIMIT, MADV_WILLNEED)); in test_advice_willneed()

Completed in 2 milliseconds